ASA Database Administration Guide
International Languages and Character Sets
International language and character set tasks
You can determine locale information using system functions.
For more information, see System functions.
To determine the locale of a database server
Start Interactive SQL, and connect to a database server.
Execute the following statement to determine the database server character set:
SELECT PROPERTY( 'CharSet' )
The query returns one of the supported character sets listed in Character set labels.
Execute the following statement to determine the database server language:
SELECT PROPERTY( 'Language' )
The query returns one of the supported languages listed in Language label values.
Execute the following statement to determine the database server default collation:
SELECT PROPERTY( 'DefaultCollation' )
The query returns one of the collations listed in Choosing collations.
To obtain client locale information, connect to a database server running on your current machine.
To obtain the character set for an individual database, execute the following statement:
SELECT DB_PROPERTY ( 'CharSet' )