ORACLEXE11G字符集更改为zhs16gbk。oracle xe安装完成后修改字符集为zhs16gbk,运行sqlplus,依次执行加粗行。
SQL*Plus: Release 11.2.0.2.0 Production on 星期四 5月 11 22:08:25 2017 Copyright (c) 1982, 2014, Oracle. All rights reserved. SQL> conn / as sysdba
已连接。
SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup restrict
ORACLE 例程已经启动。 Total System Global Area 1068937216 bytes
Fixed Size 2260048 bytes
Variable Size 629146544 bytes
Database Buffers 432013312 bytes
Redo Buffers 5517312 bytes
数据库装载完毕。
数据库已经打开。
SQL> select name from v$database; NAME
——————
XE SQL> alter database character set internal_use ZHS16GBK; 数据库已更改。 SQL> select value from nls_database_parameters where parameter='NLS_CHARACTERSET'; VALUE
——————————————————————————–
ZHS16GBK SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。 Total System Global Area 1068937216 bytes
Fixed Size 2260048 bytes
Variable Size 629146544 bytes
Database Buffers 432013312 bytes
Redo Buffers 5517312 bytes
数据库装载完毕。
数据库已经打开。
SQoracle账号L>