Handling an unknown select list
For an introduction on how to handle unknown columns in an unknown select list, see Handling an unknown select list. This section describes how to use an sqlda structure to handle a SELECT statement.
To use an sqlda structure to handle unknown select-list columns:
Important: If the SELECT statement has input parameters
of an unknown number and type in the WHERE clause, your program must
also handle these input parameters with an sqlda structure.
For more information, see Handling a parameterized SELECT statement.