使用oracle用户登录:
进入sqlplus,执行以下脚本:
connect system/system 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 ZHS16GBK;
shutdown immediate
startup
其中ZHS16GBK是修改后的字符集编码
可以使用以下语句查询当前数据库的字符集编码:
select userenv('language') from dual;