oracle 修改字符集AL32UTF8/ZHS16GBK

关于修改数据库字符集的操作步骤
首先将数据库的数据导出
打开cmd

sqlplus / 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 AL32UTF8;(utf-8 如果想改gbk 将ZHS16GBK替换即可)
shutdown immediate;
startup;

你可能感兴趣的:(Oracle)