Note
This variable is available starting with V2.2.77.
Description
nls_length_semantics specifies the length semantics of the CHAR and VARCHAR2 data types.
Applicability
This variable is applicable only to OceanBase Database in Oracle-compatible 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-compatible mode) to obtain 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-compatible mode) to obtain the value of a session system variable.
Modify variables
You cannot modify this variable.
Attributes
| Attribute | Description |
|---|---|
| Type | Varchar |
| Default value | BYTE |
| Value range |
|
| Scope |
|
| Modifiable | No. This variable is read-only. |