Was this helpful?
Describe Statement and the SQLDA
Dynamic OpenSQL uses the DESCRIBE statement to return information about the result columns of a SELECT statement. Describing a select tells the program the data types, lengths, and names of the columns retrieved by the select. If you describe a statement other than SELECT, the only information returned is a 0 in the sqld field. For a complete discussion of how to use DESCRIBE in a dynamic OpenSQL application, see Preparing and Describing the Select Statement.
Last modified date: 08/14/2024