HOWTO: ODBC API example of binding to a text column as SQL_C_WCHAR
(Doc ID 1583949.1)
Last updated on NOVEMBER 18, 2019
Applies to:
Oracle ODBC Driver - Version 10.2.0.5 and laterInformation in this document applies to any platform.
Goal
When pointing to an AL32UTF8 database, the Oracle ODBC driver will describe the column (via SQLDescribeCol) as type -8 - SQL_C_WCHAR
The following example shows the code needed to print out the data correctly.
Create the following table in an AL32UTF8 database:
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |