skip to main content
Part 2: The 32-Bit/64-Bit Drivers : The DB2 Wire Protocol Driver : Unicode Support
  
Unicode Support
The DB2 Wire Protocol driver supports Unicode data types if the database was created with a multi-byte character set.
The DB2 Wire Protocol driver maps the DB2 data types to Unicode data types as shown in the following table:
DB2 Data Type
Mapped to. . .
Dbclob1
SQL_WLONGVARCHAR
Graphic
SQL_WCHAR
Long Vargraphic
SQL_WLONGVARCHAR
Vargraphic
SQL_WVARCHAR

1 Supported on DB2 V8.x and higher for Linux/UNIX/Windows, DB2 V9 and higher for DB2 for z/OS, and DB2 V5R3 and higher for DB2 for i.