An sqlda structure to execute SQL statements

Use an SQL descriptor-area (sqlda) structure to execute SQL statements that contain unknown values.

The following table summarizes the types of dynamic statements that covered in this section.
Table 1. Using an sqlda structure to execute dynamic SQL statements
Purpose of the sqlda structure See
Holds select-list column values retrieved by a SELECT Handling an unknown select list
Holds returned values from user-defined functions Handling unknown return values
Describes unknown columns in an INSERT Handling an unknown column list
Describes input parameters in the WHERE clause of a SELECT Handling a parameterized SELECT statement
Describes input parameters in the WHERE clause of a DELETE or UPDATE Handling a parameterized UPDATE or DELETE statement