Queries > Binding Application Memory to the Database API
 
Binding Application Memory to the Database API
On both input and output, you can bind application memory to the API of the RDBMS by calling the function IldRequest::bindParam for input or IldRequest::bindCol for output.
*Input bindings must be done after the query has been successfully prepared.
*Output bindings make sense only if the query is an SQL select statement or an SQL execute procedure statement that returns rows. In the case of immediate execution, output bindings can be done after the execution and before the first call to the member function IldRequest::fetch.
In the case of a prepared query, the bindings can take place after the function IldRequest::execute has been called.

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.