DB2 Version 9.7 for Linux, UNIX, and Windows

MapBigintCDefault CLI/ODBC configuration keyword

Specifies the default C type of BIGINT columns and parameter markers.

db2cli.ini keyword syntax:
MapBigintCDefault = 0 | 1 | 2
Default setting:
The default C type representation for BIGINT data is SQL_C_BIGINT.
Usage notes:
 
MapBigintCDefault controls the C type that is used when SQL_C_DEFAULT is specified for BIGINT columns and parameter markers. This keyword should be used primarily with Microsoft applications, such as Microsoft Access, which cannot handle 8-byte integers. Set MapBigintCDefault as follows:
  • 0 - for the default SQL_C_BIGINT C type representation
  • 1 - for an SQL_C_CHAR C type representation
  • 2 - for an SQL_C_WCHAR C type representation
This keyword affects the behavior of CLI functions where SQL_C_DEFAULT might be specified as a C type, such as SQLBindParameter(), SQLBindCol(), and SQLGetData()