Oracle is not setting character set caused by the installation of Chinese garbled solution ____oracle

Source: Internet
Author: User

Installing oracle11g on Centos6.4 does not set the character set, using the operating system default character set: we8mswin1252, which modifies the character set to: Al32utf8.

Sql> Select Userenv (' language ') from dual;

Simplified Chinese_china. we8mswin1252
Sql> SELECT * from nls_database_parameters where parameter in (' Nls_charcterset ', ' nls_nchar_characterset ');
Sql> select* from V$nls_parameters where parameter= ' nls_characterset ';

The operation process is as follows:

sql> shutdown Immediate

Sql> Startup

Sql> alter session set Sql_trace=true;

Sql> alter system enable restricted session;
Sql> Show parameter job_queue_processes;

Sql> alter system set job_queue_processes=0;

Sql> alter system set aq_tm_processes=0;

sql> ALTER DATABASE open;

Sql> ALTER DATABASE character set Internal_use Al32utf8;

sql> Update props$ set value$= ' UTF8 ' where name= ' nls_nchar_characterset ';

After changing the character set, the existing data will not change, but the new data will be the newly created character set.

--Reference:

Http://www.2cto.com/database/201312/268486.html

http://blog.csdn.net/home_zhang/article/details/8073276



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.