Skip to main content
  • 7,241 Posts
  • 26,626 Replies
7241 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

  • Conversationalist
    dijkdjvhas earned the badge Conversationalist
  • Teacher (Grey)
    dijkdjvhas earned the badge Teacher (Grey)
  • Welcome Back
    dijkdjvhas earned the badge Welcome Back
  • Integrate Data with the FME Platform Training
    amarpatlurihas earned the badge Integrate Data with the FME Platform Training
  • Welcome Back
    dj_linzhas earned the badge Welcome Back
Show all badges

Community Stats

32,476
Posts
123,363
Replies
40,655
Members