When a client application requests a connection to a database, the database server uses GLS locales to perform the following steps:
When the client application requests a connection, it sends the following environment variables from the client locale to the database server:
If you do not set any of these environment variables, the client application does not send them to the database server, and the database server uses the end-user formats that the CLIENT_LOCALE defines.
The database server uses these settings to extract the following information:
The database server uses this information to verify the database locale and to establish the server-processing locale.
To open an existing database, the client application must correctly identify the database locale for that database. To verify the database locale, the database server compares the following two locales:
For more information, see The Database Locale.
Two database locales match if their language, territory, code set, and any locale modifiers are the same. If these database locales do not match, the database server performs the following actions: