Execute Prepared SQL with Parameter

Executes a prepared 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.executePreparedSQL() method. For more information, see executePreparedSQL().

Copyright IBM Corp. 2003, 2004