Report wide character columns
HCL OneDB™ servers do not support wide character data types.
When an application sets the Report Char Columns as
Wide Char Columns option, the driver sets the following
behavior:
- SQLDescribeCol reports char columns as wide char columns
- SQL_CHAR column is reported as SQL_WCHAR
- SQL_VARCHAR column is reported as SQL_WVARCHAR
- SQL_LONGVARCHAR column is reported as SQL_WLONGVARCHAR
- The default is 0: (disabled)
After setting the Report Char Columns as Wide Char Columns option,
calls to SQLBindParameter with SQL data types have the following behavior:
- SQL_WCHAR is mapped to SQL_CHAR
- SQL_WVARCHAR is mapped to SQL_VARCHAR
- SQL_WLONGVARCHAR is mapped to SQL_LONGVARCHAR