Linux 修改Oracle数据库字符集实例
程序员文章站
2022-04-04 14:41:49
1.在sql*plus 中,以dba登录
conn / as sysdba
>shutdown immediate; (把database停了)
>startup mount;...
1.在sql*plus 中,以dba登录
conn / as sysdba
>shutdown immediate; (把database停了) >startup mount; (把database重开去可更改情況) >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 utf8; 或者 >alter database character set internal_use utf8; 或者 >alter database character set internal_use zhs16gbk ; >shutdown immediate; >startup; (重开正常oracle) >select userenv('language') from dual; 常见的oracle字符集有zhs16gbk、al32utf8、us7ascii等。
上一篇: 别让邻居占了便宜