Oracle 11g 转换内部编码
Oracle 11g 转换内部编码
装Oracle 11g的时候选了gbk编码,后来想改成utf-8.
打开SQL Plus,登录,逐行输入下面的命令:
--查看Oracle数据库当前的字符集:
select userenv('language') from dual;
--修改Oracle数据库字符集为utf-8:
conn / as sysdba;
shutdown immediate;
startup mount;
alter system enable restricted session;
alter system set job_queue_processes=0;
alter system set aq_tm_processes=0;
alter database open;
alter database character set internal_use utf8; --zhs16gbk
shutdown immediate;
startup;
目录 返回
首页