Setting the territory=ll_CC attribute overrides the default system locale for that database. To find the default system locale, use the java.util.Locale.getDefault method.
Specify a locale in the form ll_CC, where ll is the two-letter language code, and CC is the two-letter country code.
Language codes consist of a pair of lowercase letters that conform to ISO 639-1. The following table shows some examples.
To see a full list of ISO 639 codes, go to
Country codes consist of two uppercase letters that conform to ISO 3166. The following table shows some examples.
A copy of ISO 3166 can be found at
Use the territory=ll_CC attribute only when you create a database.
In the following example, the new database has a locale of Spanish language and Mexican nationality.
You can use the