Common character sets and solutions for Oracle character sets

Source: Internet
Author: User

Common character sets and solutions for Oracle character sets

One. View the character set:

1. Query the service-side character set:

Select Userenv (' language ') from dual

Or

SELECT * FROM Nls_database_parameters

2. Query the client:

SELECT * FROM Nls_instance_parameters

Problems such as garbled characters in the client character set and the service-side character set will occur

3. Session Character Set:

select * from Nls_session_parameters

Two. Modify the character set:

1. Modify the client Character set: (recommended)

Open registry: Cmd-regedit

Hkey_local_machine\software\oracle\key_oradb10g_home1 's Nls_lang

2. Modify the value of the Nls_lang to:

For example, the server is: simplified Chinese_china. Al32utf8 then the client can also modify it to

If the issue is still not resolved through the registry, modify the environment variable: Nls_lang

Server-side Character Set modification: (Discreet)

Three.

Common character sets and solutions for Oracle character sets

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.