iAnywhere Solutions ODBC Drivers
iAnywhere Solutions ODBC Driver for DB2
The DB2 driver supports Unicode data types if the database was created with a multi-byte character set.
The driver maps the following DB2 data types to Unicode data types:
DB2 Data Type | Mapped to . . . |
---|---|
Graphic | SQL_WCHAR |
Long Vargraphic | SQL_WLONGVARCHAR |
Vargraphic | SQL_WVARCHAR |
This driver supports the Unicode ODBC W (Wide) function calls, such as SQLConnectW. This allows the Driver Manager to transmit these calls directly to the driver. Otherwise, the Driver Manager would incur the additional overhead of converting the W calls to ANSI function calls, and vice versa.