UltraLite User's Guide
C++ API Reference
ULCursor class
int GetColumnSQLType( ul_column_num column-index )
Returns the SQL data type of the specified column.
column-index The number of the column. The first column in the table or result set has a value of one.
The column type is a member of the UltraLite data types enumeration. For more information, see Data types enumeration:
The following example gets the column type for the third column in the table tb:
tb.Open( &conn ); colType = tb.GetColumnType( 3 );