Understanding The Locale Collation Label; Setting The Sqllocale Environment Variable; Understanding Collations; Displaying Collations - Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual

Table of Contents

Advertisement

Understanding collations

Understanding the locale collation label

Collation label values

Setting the SQLLOCALE environment variable

Understanding collations

Displaying collations

328
Each database has its own collation.
The database server determines the collation label as follows:
1
It checks the SQLLOCALE environment variable, if it exists.
For more information, see "Setting the SQLLOCALE environment
variable" on page 328.
2
It uses an internal table to find a collation label corresponding to the
language and character set.
The collation label is a label for one of the supplied Adaptive Server IQ
collations, as listed in "Understanding collations" on page 328.
The SQLLOCALE environment variable is a single string that consists of three
semicolon-separated assignments. It has the following form:
cslabel
Charset=
;Language=
where cslabel, langlabel, and colabel are labels as defined in the previous
sections.
For information on how to set environment variables, see the Adaptive Server
IQ Reference Manual.
This section describes the supplied collations, and provides suggestions as to
which collations to use under certain circumstances.
For information on how to create a database with a specific collation, see
"Creating a database with a named collation" on page 346.
Each time the database server opens an IQ database, it displays the following
collation information:
langlabel
;CollationLabel=
colabel

Advertisement

Table of Contents
loading

Table of Contents