-
Goal: Hi guys. I would like to run .sql query in Retool.
Can I somehow successfully perform next steps without any error messages? -
Steps:
I've created the variable 'dynamicSqlQuery' and have set initial value"select '111' from dual"
I would like successfully run .sql but this code doesn't work:
.sql file:
"{{dynamicSqlQuery.value}}"
-
Details:
When I run the query, I encounter the following behavior: [ORA-01036: illegal variable name/number"]
Could you please provide guidance on how to correctly execute a dynamically generated SQL query in Retool? Are there best practices or specific methods to follow to ensure dynamic SQL queries are executed correctly without encountering binding or parsing issues? -
Screenshots: