C to SQL: Bit
The bit HCL Informix® ODBC Driver C data type is SQL_C_BIT.
The following table shows the HCL Informix
ODBC Driver SQL
data types to which bit C data can be converted.
fSqlType | Test | SQLSTATE |
---|---|---|
SQL_BIGINT SQL_DECIMAL SQL_DOUBLE SQL_INTEGER SQL_REAL SQL_SMALLINT |
None | N/A |
SQL_BIT | None | N/A |
SQL_CHAR SQL_LONGVARCHAR SQL_VARCHAR |
None | N/A |
HCL Informix ODBC Driver ignores the value that the pcbValue argument of SQLBindParameter points to and the value of the cbValue argument of SQLPutData when it converts data from the Boolean C data type. HCL Informix ODBC Driver uses the size of rgbValue for the size of the Boolean C data type.