Hello,
I've a question about SQLExecutor and SQL statement. I'm upgrading workspace from FME 2017.1 to 2020.1 and in 2020.1 I'm getting an error in SQL WITH statement. In FME 2017.1 this code is not rejected and works.
Error with example
2020-07-22 14:35:49| 3.1| 0.0|WARN |Error executing SQL command ('declare "public_custom_query_crsr" cursor for WITH something AS (...)
INSERT INTO table (a...'): 'ERROR: DECLARE CURSOR must not contain data-modifying statements in WITH
What has changed in SQL Executor from 2017 to 2020.1? The transformer version is the same as I see (version number 8). I use the same database
How can I change my SQL, is there a need to modify mine WITH statements?