Purpose
The V$NLS_PARAMETERS view displays session-level National Language Support (NLS) parameters.
Applicability
This topic applies only to OceanBase Database Enterprise Edition. OceanBase Database Community Edition provides only the MySQL mode.
Related views
NLS_INSTANCE_PARAMETERSNLS_DATABASE_PARAMETERSNLS_SESSION_PARAMETERS
Columns
| Column | Type | Nullable? | Description |
|---|---|---|---|
| PARAMETER | VARCHAR2(128) | NO | The name of the parameter. |
| VALUE | VARCHAR2(65536) | YES | The value of the parameter. |
| CON_ID | NUMBER | NO | No actual meaning. |
Sample code
obclient> select * from V$NLS_PARAMETERS;
+-------------------------+----------------------------------+--------+
| PARAMETER | VALUE | CON_ID |
+-------------------------+----------------------------------+--------+
| NLS_DATE_FORMAT | YYYY-MM-DD HH24:MI:SS | 0 |
| NLS_TIMESTAMP_FORMAT | YYYY-MM-DD HH24:MI:SS.FF | 0 |
| NLS_TIMESTAMP_TZ_FORMAT | YYYY-MM-DD HH24:MI:SS.FF TZR TZD | 0 |
| NLS_LANGUAGE | AMERICAN | 0 |
| NLS_TERRITORY | AMERICA | 0 |
| NLS_SORT | BINARY | 0 |
| NLS_COMP | BINARY | 0 |
| NLS_CHARACTERSET | AL32UTF8 | 0 |
| NLS_NCHAR_CHARACTERSET | AL16UTF16 | 0 |
| NLS_DATE_LANGUAGE | AMERICAN | 0 |
| NLS_LENGTH_SEMANTICS | BYTE | 0 |
| NLS_NCHAR_CONV_EXCP | FALSE | 0 |
| NLS_CALENDAR | GREGORIAN | 0 |
| NLS_NUMERIC_CHARACTERS | ., | 0 |
+-------------------------+----------------------------------+--------+
14 rows in set (0.01 sec)