Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: jodycrutchfieldMario,
Here is how I get around it in the DBExecute node.
Declare a parameter on the node called Query as type sql. Then you can have sql on multiple lines and build the sqlSelect line in the script section.
Here is an example.
node:DB_Execute
bretype:core::DB Execute
editor:sortkey=4e26c64d688a7802
output:4e26c67156003181/out1=
prop:Query=<<EOX
select *
from sometable
where value = :1
EOX
prop:Script=<<EOX
sqlSelect(1,"{{^Query^}}",InputCol)
EOX
editor:XY=430,140
editor:propdef=Query|sql|1||None
end:DB_Execute