Data types

HCL® OneDB® ODBC Driver supports five different data types.

The following table describes the data types that HCL OneDB ODBC Driver supports.
Data type Description Example
HCL OneDB SQL data type Data types that your HCL OneDB database server uses CHAR(n)
HCL OneDB ODBC Driver SQL data type Data types that correspond to the HCL OneDB SQL data types SQL_CHAR
Standard C data type Data types that your C compiler defines unsigned char
HCL OneDB ODBC Driver typedef Typedefs that correspond to the standard C data types UCHAR
HCL OneDB ODBC Driver C data type Data types that correspond to the standard C data types SQL_C_CHAR