Oracle sets the environment variable NLS_LANG (client environment variable)

Source: Internet
Author: User

NLS_LANG format:

NLS_LANG = LANGUAGE_TERRITORY.Client CHARACTERSET

1. Composition of the NLS_LANG Parameter

The NLS_LANG parameter consists of the following parts:

NLS_LANG = <Language >_< Territory>. <Clients Characterset>

The meanings of NLS_LANG are as follows:

LANGUAGE:

Oracle message language

Show month and day in date

Specified by TERRITORY

Currency and Number Format

Regional and day calculation habits

CHARACTERSET:

Controls character sets used by Client Applications

In Oracle NLS_LANG settings, it is usually set to or equal to the client (such as Windows) code page.

Or set the unicode application to UTF8.

View the CHARACHERSET used by oracle:

Select * from v $ nls_parameters where parameter = 'nls _ CHARACTERSET ';

View the instance character set Language and Territory:

Select * from nls_instance_parameters;

NLS_LANGUAGE

NLS_TERRITORY

View the two items

2. view the NLS_LANG settings:

Env | grep NLS_LANG

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.