Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: timonkRichard,
Nodes in BRE do not have the ability to pause sql queries and prompt for input. Once a query has been launched, it will run to completion (successful or otherwise), or the node can be cancelled by the user.
The closest thing you have to controlling your input is to use the DB Execute node's ability to take an input. See your BRAINScript help for the DB Execute node, and the sqlSelect command.
# For Oracle (OCI)
sqlSelect(1, "Select * from billing_data where state = :1", 'state')
a) write to output '1'
b) your query is between the double quotes. :1 is special notation.
c)for each input record to the node, evaluate the ':1' in the query to the value of the 'state' field.
This gives you some measure of control of what your query will look like based on graph input.
Regards
Timon Koufopoulos
MDA Support