Free Trial

Alteryx Designer Desktop Discussions

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

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
19 - Altair

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

Labels
Top Solution Authors