Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: stonysmithChange it to a DBExecute like this:
query="SELECT * FROM tablename where Account=:1"
sqlSelect(1,query,ValueToSeek)
=====
The other option is to build your query string and then pass it in as a variable.
In a filter node, you would put something like this:
emit MyQuery="select * from tablename where fieldname IN ("+ MyListOfValues + ")"
Then in the DbExecute, you would use simply this:
However, this last approach only works if there is a single input record. If you attempt to perform multiple queries with it (multiple records in), then Oracle will likely throw an error of "Query Changed". It works with one record, but not multiple.