Queries > Executing an SQL Query Immediately
 
Executing an SQL Query Immediately
Some SQL statements sent by your application can be:
*“one shot” queries, such as DDL statements (create table, drop table, and so on),
*or, select or delete queries, known beforehand.
For immediate execution, you do not even need to create an IldRequest object. The IldDbms object can process such statements by means of the function IldDbms::execute.
However, you can also use an IldRequest object for that purpose by calling the function IldRequest::execute.
When the execution succeeds, you may bind the returned data columns to application memory by using the member function IldRequest::bindCol.

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