Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

PostGres SQL data update No value column to Update

christinaliu
6 - Meteoroid

I have some data to insert into a postgres sql database table. The insert script below works in PGadmin but not able to insert through alteryx. The datatype matches to the datatype of the database table.  

 

 

CALL eqto.trade_surface_run_underlier_exclusion_write(

  _run_id := 1,

  _exclusions_json := '[

    { "ric": "AAPL.OQ", "expiry_date": "2024-05-01", "strike": 100 },

    { "ric": "AAPL.OQ", "expiry_date": "2024-05-01", "strike": 101 }

  ]'::JSONB

);

 

 

Error is: 

 
Output Data (3) No value column to Update

 

Any idea how to solve this? 

2 REPLIES 2
Shoaib345
5 - Atom

DO $$

BEGIN

  CALL eqto.trade_surface_run_underlier_exclusion_write(

    _run_id := 1,

    _exclusions_json := '[{"ric": "AAPL.OQ", "expiry_date": "2024-05-01", "strike": 100}, {"ric": "AAPL.OQ", "expiry_date": "2024-05-01", "strike": 101}]'::JSONB

  );

END;

$$;

apathetichell
20 - Arcturus

is this in input data/presql--- see https://analytics-x.tech/en/archives/5660

Labels
Top Solution Authors