DB2 10.5 for Linux, UNIX, and Windows

nchar_mapping - National character mapping configuration parameter

This parameter determines the data type mapping for national character string data types in Unicode databases.

Configuration type
Database
Parameter type
Configurable online
Default [range]
GRAPHIC_CU16 [CHAR_CU32, GRAPHIC_CU32, GRAPHIC_CU16, NOT APPLICABLE]

If you are not using a Unicode database, the value of nchar_mapping is NOT APPLICABLE because there is no support for specifying national character string data types in non-Unicode databases.

The national character string data type mapping is as follows:

Table 1. Mapping between national character strings and data types
Parameter Value NCHAR NVARCHAR NCLOB
CHAR_CU32 CHAR in string units CODEUNITS32 VARCHAR in string units CODEUNITS32 CLOB in string units CODEUNITS32
GRAPHIC_CU32 GRAPHIC in string units CODEUNITS32 VARGRAPHIC in string units CODEUNITS32 DBCLOB in string units CODEUNITS32
GRAPHIC_CU16 GRAPHIC in string units CODEUNITS16 VARGRAPHIC in string units CODEUNITS16 DBCLOB in string units CODEUNITS16

Effects of changing the value of nchar_mapping