Controls the SQL data type returned when TIME columns and parameter
markers are described.
- db2cli.ini keyword syntax:
- MapTimeDescribe = 0 | 1 | 2
- Default setting:
- The default SQL data type for TIME data is returned: SQL_TIME for ODBC
2.0 or SQL_TYPE_TIME for ODBC 3.0
- Usage notes:
-
To control the SQL data type that is returned when TIME columns
and parameter markers are described, set MapTimeDescribe as follows:
- 0 - to return the default SQL data type: SQL_TIME for ODBC 2.0 or SQL_TYPE_TIME
for ODBC 3.0
- 1 - to return the SQL_CHAR SQL data type
- 2 - to return the SQL_WCHAR SQL data type
Only the following
CLI functions
are affected by setting MapTimeDescribe:
- SQLColumns()
- SQLDescribeCol()
- SQLDescribeParam()
- SQLGetDescField()
- SQLGetDescRec()
- SQLProcedureColumns()
- SQLSpecialColumns()