Collate NCHAR data
NCHAR is a locale-sensitive data type. The only difference between NCHAR and CHAR data types is the collation order, except in databases that were created with the NLSCASE INSENSITIVE property.
The database server sorts data in NCHAR columns in localized order, if the locale defines a localized order. In contrast, the database server collates data in CHAR columns in code-set order for most operations, even if the database locale (or the SET COLLATION statement of SQL) defines a localized collation.
Because the default locale (U.S. English) has no localized order, the database server sorts NCHAR data in code-set order in the default locale, just as it sorts CHAR data.
Important: In an NLSCASE INSENSITIVE
database, strings of all character data types are stored with the
same uppercase or lowercase letters as in the records that were loaded
or inserted into the database tables. Database server operations on
NCHAR and NVARCHAR character strings, however, ignore the case of
letters, ordering their data values during collation without respect
to or preference for case. Thus, the NCHAR string
"CA"
might
precede or follow "ca"
or "Ca"
in
a collated list, depending on the order in which the data values are
retrieved.