Programmer Guide : Data types : C data types
  
C data types
ODBC defines the C data types and their corresponding ODBC type identifiers.
Applications call one of the following functions:
SQLBindCol or SQLGetData to pass an applicable C type identifier in the TargetType argument. In this way, applications specify the C data type of the buffer that receives result set data.
SQLBindParameter to pass the appropriate C type identifier in the ValueType argument. In this way, applications specify the C data type of the buffer containing a statement parameter.
The SQL_DESC_CONCISE_TYPE field of an application descriptor is where the C data type is stored.
Driver-specific C data types do not exist.
See also
Data types