oracle 字符集转换:AL32UTF8->ZHS16GBK

时间:2023-03-08 16:47:30

select userenv('language') from dual;

--修改Oracle数据库字符集为ZHS16GBK :

SQL>conn / as sysdba;

SQL>shutdown immediate;

SQL>startup mount;

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 zhs16gbk; --utf8

SQL>shutdown immediate;

SQL>startup;