oracle数据库的字符集更改
[SQL> conn / as sysdba --需要使用SYSDBA帐户
SQL> startup mount
SQL> shutdown immediate; --停止数据库
SQL> startup mount; --启动数据库到 mount 状态
SQL> alter session set sql_trace=true;
SQL> alter system enable restricted session;
SQL> alter system set job_queue_processes=0;
SQL> alter system set aq_tm_processes=0;
SQL> alter database open;
SQL> ALTER DATABASE character set INTERNAL_USE AL32UTF8; --修改字符集AL32UTF8->ZHS16GBK
SQL> shutdown immediate; --再次关闭数据库
SQL> STARTUP; --启动数据库