If you choose the UCA collation when you create a database, you can optionally specify collation tailoring options. If you do not choose UCA as the collation, you can still use tailoring syntax to control case sensitivity. You can also specify tailoring options when comparing or sorting data using the COMPARE and SORTKEY functions.
Collation tailoring options take the form of keyword-value pairs. Following is a table of the supported keywords, including their allowed alternate forms, and their allowed values.
Databases created with collation tailoring options cannot be started using a pre-10.0.1 database server.
|Keyword||Collation||Alternate forms||Allowed values|
|Locale||UCA||(none)||Any valid locale code. For example, en.|
|CaseSensitivity||All supported collations||CaseSensitive, Case||
The type of sort to use. Possible values:
For more information about these sort types, see Unicode Technical Standard #35, at http://www.unicode.org/reports/tr35/.
To tailor a UCA collation to conform to the Swedish Academy's 2005 standards in which V and W are considered to be different
characters at the primary level, specify
UCA (locale=swe;sorttype=phonebook). Without sorttype=phonebook, V and W are considered to be the same character in the Swedish locale.
|Envoyer votre avis sur cette page par email.||Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1|