Solve Pl\sql garbled problem

Source: Internet
Author: User

View the character set of the database server

SELECT * from nls_database_parameters where parameter= ' nls_characterset ';

PARAMETER VALUE

Nls_characterset ZHS16GBK


Select Sys_context (' USERENV ', ' LANGUAGE ');


Client Character Set

SELECT * FROM Nls_instance_parameters

650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M01/8C/DD/wKioL1h8ZxKAC1RGAAANUymf9UU013.png "title=" a.png "alt=" Wkiol1h8zxkac1rgaaanuymf9uu013.png "/>

Session Character Set

SELECT * FROM Nls_session_parameters

--if there is no special setting, it will be the same as Nls_instance_parameters

--The character set requires consistency, but the language settings can be different

--The character set is ZHS16GBK, then Nls_lang can be AMERICAN_AMERICA.ZHS16GBK


--1.echo%nls_lang%

-No return results

--2. Adding environment variables to Windows

650) this.width=650; "src=" Https://s5.51cto.com/wyfs02/M00/8C/E1/wKiom1h8ZtPSYhKTAAAfmOckN8Q632.png "title=" q.png "alt=" Wkiom1h8ztpsyhktaaafmockn8q632.png "/>

Echo again

C:\users\yl>echo%nls_lang%

Simplified Chinese_china. Zhs16gbk

Re-login pl\sql, problem solving


This article from "Yangwang" blog, declined reprint!

Solve Pl\sql garbled problem

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.