首页 > 代码库 > Oracle更改字符集

Oracle更改字符集

1. 查看字符集

select userenv(‘language‘) from dual;


2. 改动字符集(逐条运行就可以)


sqlplus  "/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 AL32UTF8;

shutdown immediate;

startup;

至此改动成功。


Oracle更改字符集