修改Oracle【12C】字符集

  1. select userenv('language') from dual; //查看系统字符集编码
  2. select * from nls_database_parameters where parameter in ('NLS_CHARCTERSET','NLS_NCHAR_CHARACTERSET');
  3. shutdown immediate
  4. startup
  5. alter session set sql_trace=true;
  6. alter system enable restricted session;
  7. show parameter job_queue_processes;
  8. alter system set job_queue_processes=0;
  9. alter system set aq_tm_processes=0;
  10. alter database character set INTERNAL_USE AL32UTF8;
  11. update props$ set VALUE$='UTF8' where NAME='NLS_NCHAR_CHARACTERSET';
posted @ 2017-09-13 15:44  dreamzhao  阅读(999)  评论(0编辑  收藏  举报