Note
This variable is available starting with V2.2.77.
Description
nls_date_language specifies the default language for date-related functions in the database. It is used in the TO_DATE and TO_CHAR functions to handle input or output of date, month, AM/PM, and BC/AD information.
Applicability
This variable is applicable only to OceanBase Database in Oracle mode.
Privilege requirements
Query variables
Global level
The
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_GLOBAL_VARIABLEview (Oracle mode) to view the value of a global system variable.Session level
The
systenant and all user tenants can execute theSHOW VARIABLESstatement or query theSYS.TENANT_VIRTUAL_SESSION_VARIABLEview (Oracle mode) to view the value of a session system variable.
Modify variables
This variable cannot be modified.
Attributes
| Attribute | Description |
|---|---|
| Type | Varchar |
| Default value | AMERICAN |
| Scope |
|
| Modifiable | No. This variable is read-only. |