Dears,
I need help in understanding a error
ERROR: CLI execute error: ERROR: operator does not exist: uuid = character varying;Error while executing the query
proc sql ; connect to POSTGRES (<server-password details>); execute ( update X.tableX set plan_lock_flg = true, process_status_no=41, modified_by_user_id = 'tst', modified_dttm = current_timestamp where id in (select pp_id from X.tableY) ) by POSTGRES; ERROR: CLI execute error: ERROR: operator does not exist: uuid = character varying;Error while executing the query
But the same query is working in when I give value in the inner query in below format
eaxmple :
proc sql ; connect to POSTGRES (<server-password details>); execute ( update X.tableX set plan_lock_flg = true, process_status_no=41, modified_by_user_id = 'tst', modified_dttm = current_timestamp where id in ('00b3553b-408d-41b2-8ed3-cee324187d6e' , '018b781e-cd65-460a-8faa-5b4e57dbff49') ) by POSTGRES;
value of TableY is as below
id
'00b3553b-408d-41b2-8ed3-cee324187d6e'
'018b781e-cd65-460a-8faa-5b4e57dbff49'
'08394f63-b3fb-43fd-b0d1-0f780a2891c2'
'41a4a2f1-cf16-4659-9e0d-b62021406f94'
'5f5fffb2-8a61-4d79-bf65-cf0574383abf'
'669941d4-0b16-46fc-a2e6-562239355bbd'
'70eb1ad5-b6a8-43b5-9245-a6ae62b0a892'
How can I resolve this error. Please help.
Thanks!
... View more