V25.1.4 - Error saving SQL code to a table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
please see the attached example. Nor the model is relevant neither the "sendToPort" logic, besides having a SQL statement on it. Now, please see the two sourced scripts. In those, the objective is to save the send to port code to a cell on a table. The only difference between them is on row 6.
It seems your SQL engine is interpreting the content of the variable as part of the SQL statement itself. This seems to defeat the concept of SQL as a way to convey content to tables; in other words, a bug.If it is a bug, how to fix it, even provisionally?
If this is not a bug, what is the proper way to save the content of a string containing an SQL statement to a table, using SQL?
Please note this is a mock-up example. It reflects a more complex modeling where SQL is used extensively to convey content from/to tables.
Thank you.