Plsql setting the displayed character set and setting

Source: Internet
Author: User

I. About PLSQL cannot display Chinese correctly

Just download installed Plsql Developer 9.0.0.1601 green version, execute SQL query statement, found that the displayed data as long as the Chinese will be? Said. After the online query that this is the client and the server character set mismatch caused. Here's how to fix it:
1. Query the Oracle server-side character set. Open the Plsql Query window and enter the following SQL query statement.
Select Userenv (' language ') from dual;

The resulting server character set is: Simplified Chinese_china. Zhs16gbk
2, My Computer environment variable interface, in the system variable added:
Variable name: Nls_lang
Variable value: Simplified Chinese_china. Zhs16gbk
The value of the variable is consistent with the value queried by the server.

This setting steps to know that this setting is not only for plsql, all the Chinese when connecting to Oracle on the customer service machine must be set by this method the character set and the consistent party on the server can display Chinese content correctly.

Second, Plsql Green Chinese version of the software set in Chinese display

In Plsql click the menu tools--preferences in the popup settings window to find appearance--language Select Simplified Chinese.

Plsql when logging in, the database contents in the Login window should be set

This place plsql will actually read a file, the full path of the file is: The Oracle Customer service is located in the directory App\administrator\product\11.2.0\client_1\network\admin\tnsnames.ora

If my Oracle client is installed on drive D, then D:\app\Administrator\product\11.2.0\client_1\Network\Admin\tnsnames.ora

Plsql setting the displayed character set and setting

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.