The sqltypes.h header
file contains integer constants for both SQL and data
types. Some library
functions require data type constants as arguments. You can also compare
these data type constants in dynamic SQL programs to determine the
type of column that the DESCRIBE statement described. The code
excerpt in the following figure compares the sqltype element
of an sqlvar structure to a series of SQL data type constants
to determine what types of columns a DESCRIBE statement returned.
For more information about the use of data type constants
with the DESCRIBE statement, see Determine SQL statements.
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.