Linux Oracle 转换编码格式

[oracle@gpdb ~]$ sqlplus /nolog

SQL> conn /as sysdba;

SQL>select userenv('language') from dual;

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 US7ASCII;

SQL>SHUTDOWN IMMEDIATE;

SQL>STARTUP;

SQL>select userenv('language') from dual;

常见的Oracle字符集有ZHS16GBK、AL32UTF8、US7ASCII等

上一篇:utf8+bom格式保存php curl乱码问题


下一篇:小菜学习Winform(五)窗体间传递数据