Method 3: Query Statements Without Parameters
Go Up to DSQL Programming Methods
There are three steps to processing a SQL query statement string without parameters:
- Prepare an output
XSQLDA
to process the select-list items returned when the query is executed. - Prepare the statement string.
- Use a cursor to execute the statement and retrieve select-list items from the output
XSQLDA
.