The data type NATIONAL CHARACTER or NCHAR is used for columns which can contain fixed-length national values (see the section "National literals").
[ {[
dimension ] | (
dimension )] } { NATIONAL CHAR[ACTER] | NCHAR } [ (
cu_length [CODE_UNITS])]
dimension
Unsigned integer between 1 and 255. The column is a multiple column; dimension indicates the number of column elements. dimension can be enclosed in square brackets or parentheses.
dimension omitted:
The column is an atomic column.
cu_length
Unsigned integer between 1 and 128 that defines the length of the NCHAR column in code units.
cu_length omitted:
cu_length=1.
Range of values for NCHAR columns
An NCHAR column can contain national values of the length specified for the column.
Example
The MANUALS table contains one INTEGER and two NCHAR columns of fixed ord_num INTEGER language NCHAR(20) title NCHAR(30) |