- 首先打开cmd进入:sqlplus / as sysdba;
- select userenv ('language') from dual; 查看数据库编码是否为ZHS16GBK;
- ALTER SYSTEM ENABLE RESTRICTED SESSION;
- ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
- ALTER SYSTEM SET AQ_TM_PROCESSES=0;
- ALTER DATABASE CHARACTER SET INTERNAL_USE ZHS16GBK;
- shutdown immediate;
- startup;
- 执行以上命令完成后:查看系统环境变量是否有NLL_LANG变量,没有请添加
- 如下:变量名:NLS_LANG