Skip to main content
  • 7,210 Posts
  • 26,534 Replies
7210 Posts
SQL Statement to Execute after translation problem

Hello,since updating to 2016.1 I have a problem with my sql statements to execute after translation. I need to update sequence values, because I am manually inserting data into serial column. However I am getting following error:Error executing SQL command ('select setval('$(Schema).unip_property_attributes_id_seq', (select max(id) from $(Schema).unip_property_attributes))'): 'ERROR:  syntax error at or near "$"LINE 1: ...property_attributes_id_seq', (select max(id) from $(Schema)....                                                             ^'PostgreSQL Writer: SQL statement To Execute After Translation failed; see above for detailswhere unip_property_attributes_id_seq is the name of the sequence I am trying to modify (set value) and $(Schema) is a published parameter where the name of the schema is stored. Seems like after updating to 2016.1 there is some problem with addressing published parameters in sql

Badge Winners

Show all badges

Community Stats

32,324
Posts
123,122
Replies
40,335
Members