修改Oracle字符集为 ZHS16GBK
2016-08-10 13:28
441 查看
SQL*Plus: Release 11.2.0.1.0 Production on Wed Aug 10 13:12:48 2016
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 5.3982E+10 bytes
Fixed Size 2218032 bytes
Variable Size 2.9259E+10 bytes
Database Buffers 2.4428E+10 bytes
Redo Buffers 292569088 bytes
Database mounted.
SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
System altered.
SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
System altered.
SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;
System altered.
SQL> alter database open;
Database altered.
SQL> ALTER DATABASE CHARACTER SET ZHS16GBK;
ALTER DATABASE CHARACTER SET ZHS16GBK
*
ERROR at line 1:
ORA-12712: new character set must be a superset of old character set
SQL> ALTER DATABASE character set INTERNAL_USE ZHS16GBK;
Database altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 5.3982E+10 bytes
Fixed Size 2218032 bytes
Variable Size 2.9796E+10 bytes
Database Buffers 2.3891E+10 bytes
Redo Buffers 292569088 bytes
Database mounted.
Database opened.
SQL> select userenv('language') from dual;
USERENV('LANGUAGE')
----------------------------------------------------
AMERICAN_AMERICA.ZHS16GBK
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup mount;
ORACLE instance started.
Total System Global Area 5.3982E+10 bytes
Fixed Size 2218032 bytes
Variable Size 2.9259E+10 bytes
Database Buffers 2.4428E+10 bytes
Redo Buffers 292569088 bytes
Database mounted.
SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
System altered.
SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
System altered.
SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;
System altered.
SQL> alter database open;
Database altered.
SQL> ALTER DATABASE CHARACTER SET ZHS16GBK;
ALTER DATABASE CHARACTER SET ZHS16GBK
*
ERROR at line 1:
ORA-12712: new character set must be a superset of old character set
SQL> ALTER DATABASE character set INTERNAL_USE ZHS16GBK;
Database altered.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 5.3982E+10 bytes
Fixed Size 2218032 bytes
Variable Size 2.9796E+10 bytes
Database Buffers 2.3891E+10 bytes
Redo Buffers 292569088 bytes
Database mounted.
Database opened.
SQL> select userenv('language') from dual;
USERENV('LANGUAGE')
----------------------------------------------------
AMERICAN_AMERICA.ZHS16GBK
相关文章推荐
- oracle 修改字符集 为ZHS16GBK
- oracle查看并修改ZHS16GBK字符集
- oracle 12c 字符集修改 AL32UTF8 改为 ZHS16GBK
- 修改 oracle xe 默认中文字符集成为:SIMPLIFIED CHINESE_CHINA.ZHS16GBK
- 转: Linux 下修改oracle 的字符集:WE8ISO8859P1 修改为 ZHS16GBK
- oracle 修改字符集 修改为ZHS16GBK
- oracle 修改字符集 修改为ZHS16GBK
- Oracle 11g修改字符集AL32UTF8为ZHS16GBK
- oracle修改字符集(WE8MSWIN1252 -->ZHS16GBK)
- 转: Linux 下修改oracle 的字符集:WE8ISO8859P1 修改为 ZHS16GBK
- oracle 修改字符集 修改为ZHS16GBK
- Oracle修改字符集(WE8MSWIN1252 -->ZHS16GBK或者UTF8)
- Linux 下修改oracle 的字符集:WE8ISO8859P1 修改为 ZHS16GBK
- Oracle 11g 修改字符集 为 ZHS16GBK
- oracle xe 手工建立ZHS16GBK字符集数据库
- oracle默认utf-8修改成zhs16gbk
- oracle11g 修改字符集 修改为ZHS16GBK
- 复制Oracle数据库中文字符集AMERICAN_AMERICA.ZHS16GBK数据到目的库Oracle字符集AL32UTF8
- oracle 字符集转换:AL32UTF8->ZHS16GBK
- Oracl11g 修改字符集 改成 ZHS16GBK