Standard default C data types

There is default C data type for each HCL OneDB™ ODBC Driver SQL data type.

For each HCL OneDB ODBC Driver SQL data type, the following table shows the default C data type.

HCL OneDB ODBC driver SQL data type (fSqlType) Default HCL OneDB ODBC driver C data type (fCType)
SQL_BIGINT SQL_C_CHAR
SQL_BIT SQL_C_BITS
SQL_CHAR SQL_C_CHAR
SQL_DATE SQL_C_DATE
SQL_DECIMAL SQL_C_CHAR
SQL_DOUBLE SQL_C_DOUBLE
SQL_INTEGER SQL_C_SLONG
SQL_LONGVARBINARY SQL_C_BINARY
SQL_LONGVARCHAR SQL_C_CHAR
SQL_NUMERIC SQL_C_NUMERIC
SQL_REAL SQL_C_FLOAT
SQL_SMALLINT SQL_C_SSHORT
SQL_TIMESTAMP SQL_C_TIMESTAMP
SQL_VARCHAR SQL_C_CHARS