Determine SQL statements
If you do not know until run time what SQL statement to execute, you can dynamically determine that statement with the DESCRIBE statement and use a dynamic-management structure to hold any values that the statement sends to or receives from the database server.
These topics contain the following information about how
to dynamically determine an SQL statement:
- What dynamic-management structures exist and which SQL statements access them.
- How to use the DESCRIBE statement with a dynamic-management structure.