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
1Supported on DB2 v8.x and higher for Linux/UNIX/Windows; DB2 for z/OS; and DB2 V5R2 and higher for iSeries.