修改數據庫字符集為
查看服務器端字符集
SQL > select * from V$NLS_PARAMETERS;
修改
$sqlplus /nolog
SQL>conn / as sysdba
若此時數據庫服務器已啟動
令關閉數據庫服務器
SQL>shutdown immediate
SQL>STARTUP MOUNT
SQL>ALTER SYSTEM ENABLE RESTRICTED SESSION;
SQL>ALTER SYSTEM SET JOB_QUEUE_PROCESSES=
SQL>ALTER SYSTEM SET AQ_TM_PROCESSES=
SQL>ALTER DATABASE OPEN;
SQL>ALTER DATABASE CHARACTER SET ZHS
*
ERROR at line
ORA
若出現上面的錯誤
SQL>ALTER DATABASE CHARACTER SET INTERNAL_USE ZHS
SQL>SHUTDOWN IMMEDIATE
SQL>STARTUP
From:http://tw.wingwit.com/Article/program/Oracle/201311/16772.html