ODBC 2.0 column ODBC 3. The following table lists the columns in the result set. An application should gain access to driver-specific columns by counting down from the end of the result set rather than specifying an explicit ordinal position. Note SQLGetTypeInfo might not return all data types. For example, a driver might not return user-defined data types.
Applications can use any valid data type, regardless of whether it is returned by SQLGetTypeInfo .
The data types returned by SQLGetTypeInfo are those supported by the data source. Drivers can return result-set data using data types other than the types returned by SQLGetTypeInfo . In creating the result set for a catalog function, the driver might use a data type that is not supported by the data source. 2 Smallint not NULL SQL data type. This can be an ODBC SQL data type or a driver-specific SQL data type.