Oracle client connection remote Oracle service Chinese garbled problem, oracle Chinese

Source: Internet
Author: User

Oracle client connection remote Oracle service Chinese garbled problem, oracle Chinese

When the local machine remotely connects to the remote Oracle service, the following retrieval statement is written:

Select * from sys_employee

Chinese garbled characters appear in the results, but the remote server's PL/SQL retrieval is correct.

Solution:

Step 1:

Select * from v $ nls_parameters

Obtain execution results

 

Step 2:
SELECT 'American _ AMERICA. '| PROPERTY_VALUE
FROM DATABASE_PROPERTIES

Obtain execution results

Step 3: Configure environment variables:

Add two configurations in the system Variable Area

NLS_CHARACTERSET = ZHS16GBK

NLS_LANG = AMERICAN_AMERICA.ZHS16GBK

Related Article

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.