Execute SQL with Parameter

Executes a static SQL query by specifying its syntax and parameters.

Inputs

Database connection
A CwDBConnection object that represents the database connection.

Query
A String that represents the SQL query to execute in the database.

Parameters
A Vector object of arguments to pass to parameters in the SQL query.

Notes

This function block is based on the CwDBConnection.executeSQL() method. For more information, see executeSQL().

Copyright IBM Corp. 2003, 2004