Oracle Database - Globalization (Localization, NLS parameter)

Card Puncher Data Processing

About

Globalization support enables the storing, processing and retrieval of data in native languages.

The languages that can be stored in an Oracle database are encoded by Oracle Database-supported character sets.

Globalization support ensures that:

  • database utilities,
  • error messages,
  • sort order,
  • date,
  • time,
  • monetary,
  • numeric,
  • and calendar conventions

adjust to the native language and locale.

Parameters

NLS Parameter Goal
NLS_CHARACTERSET Define the characterset
NLS_CURRENCY
NLS_DATE_FORMAT Define the output format of a date
NLS_DATE_LANGUAGE
NLS_DUAL_CURRENCY
NLS_ISO_CURRENCY
NLS_LANGUAGE Define the language
NLS_LENGTH_SEMANTICS
NLS_LANG To Define in one parameter the NLS_TERRITORY and NLS_LANGUAGE values
NLS_NUMERIC_CHARACTERS decimal separator and thousands separator
NLS_SORT
NLS_TERRITORY If the parameters NLS_CURRENCY, NLS_DUAL_CURRENCY, NLS_ISO_CURRENCY, NLS_DATE_FORMAT, NLS_TIMESTAMP_FORMAT, NLS_TIMESTAMP_TZ_FORMAT, NLS_NUMERIC_CHARACTERS are not set, they are derived from NLS_TERRITORY

Data Dictionary

Applications can check the session, instance, and database NLS parameters by querying the following data dictionary views:

  • NLS_SESSION_PARAMETERS shows the NLS parameters and their values for the session that is querying the view. It does not show information about the character set.
  • NLS_INSTANCE_PARAMETERS shows the current NLS instance parameters that have been explicitly set and the values of the NLS instance parameters.
  • NLS_DATABASE_PARAMETERS shows the values of the NLS parameters for the database. The values are stored in the database.

Applications can check the following NLS dynamic performance views:

  • VNLS_VALID_VALUES lists values for the following NLS parameters: NLS_LANGUAGE, NLS_SORT, NLS_TERRITORY, NLS_CHARACTERSET
  • VNLS_PARAMETERS shows current values of the following NLS parameters: NLS_CALENDAR, NLS_CHARACTERSET, NLS_CURRENCY, NLS_DATE_FORMAT, NLS_DATE_LANGUAGE, NLS_ISO_CURRENCY, NLS_LANGUAGE, NLS_NUMERIC_CHARACTERS, NLS_SORT, NLS_TERRITORY, NLS_NCHAR_CHARACTERSET, NLS_COMP, NLS_LENGTH_SEMANTICS, NLS_NCHAR_CONV_EXP, NLS_TIMESTAMP_FORMAT, NLS_TIMESTAMP_TZ_FORMAT, NLS_TIME_FORMAT, NLS_TIME_TZ_FORMAT

Documentation / Reference





Discover More
Card Puncher Data Processing
Oracle Database

Documentation about the Oracle database
Card Puncher Data Processing
Oracle Database - Character Set

Oracle Database uses the database character set for: Data stored in SQL character datatypes (CHAR, VARCHAR2, CLOB, and LONG). Identifiers such as table names, column names, and PL/SQL variables. ...
Card Puncher Data Processing
Oracle Database - NLS_DATE_FORMAT

The parameter NLS_DATE_FORMAT control the format of the date datatype. You can see here to see the different format...
Card Puncher Data Processing
Oracle Database - NLS_LANGUAGE parameter

language specifies the language used for displaying Oracle messages, sorting, day names, and month names. NLS_LANGUAGE is a Nls Parameter that define the language and implicitly the parameters:...
Card Puncher Data Processing
Oracle Database - TO_NUMBER function

The format value must have this form: 'dg' where : D is the new decimal character. G is the new group separator. Example: nls-param can be one of more NLS parameters as : , NLS_CURRENCY,...
Card Puncher Data Processing
Oracle Database - Territory (NLS_TERRITORY)

Territory in the context of oracle database. It specifies the conventions for default date, monetary and numeric formats. NLS_TERRITORY is a Nls Parameter that define the following parameters: ...
Card Puncher Data Processing
SQL*Loader - Running SQL*Loader (sqlldr)

SqlLoader is an utility tool and can not change the environment parameters, especially the NLS Localization parameter. From 160521.1Checklist before starting SQLLoader You have to change them: in the...



Share this page:
Follow us:
Task Runner