I have a questions for all those familiar with ODBC. One of the functions in ODBC is SQLColAttribute. I am using this function to obtain a column type in a result set. Therefore the 3rd parameter(field identifier) would be SQL_DESC_TYPE. It is supposed to return a SQLPOINTER (Numeric Attribute Ptr). What I am trying to determine is that if this is returned as a Numeric, then how would I find out what numeric value stands for what data type. I have to use this in order to convert the SQL data type into C data types so I can bind to the result set. Any help would be greatly appreciated.

Thanks a million,
Kendal