UltraLite Static C++ User's Guide
C++ API Reference
ULCursor class
int GetColumnType( ul_column_num column-index )
Returns the data type needed to hold the information in 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 );