Additional default C data types for HCL OneDB
There is default C data type for each additional HCL OneDB™ ODBC Driver SQL data type.
For each additional HCL OneDB ODBC Driver SQL data type for HCL OneDB, 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_IFMX_UDT_BLOB | SQL_C_BINARY |
SQL_IFMX_UDT_CLOB | SQL_C_BINARY |
SQL_INFX_UDT_FIXED | This HCL OneDB ODBC Driver SQL data type does not have a default HCL OneDB ODBC Driver C data type. Because this HCL OneDB ODBC driver SQL data type can contain binary data or character data, you must bind a variable for this HCL OneDB ODBC driver SQL data type before you fetch a corresponding value. The data type of the bound variable specifies the C data type for the value. |
SQL_INFX_UDT_VARYING | This HCL OneDB ODBC Driver SQL data type does not have a default HCL OneDB ODBC Driver C data type. Because this HCL OneDB ODBC Driver SQL data type can contain binary data or character data, you must bind a variable for this HCL OneDB ODBC Driver SQL data type before you fetch a corresponding value. The data type of the bound variable specifies the C data type for the value. |