Oracle中文设置
设置中文要三者合一
- 服务器中文环境
- oracle中文环境
- 客户端中文环境
服务器中文环境
sudo vi /etc/profile
export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
oracle中文环境
conn / as sysdba;
shutdown immediate;
startup mount;
alter system enable restricted session;
alter system set job_queue_processes=0;
alter database open;
alter database character set internal_use AL32UTF8;
shutdown immediate;
startup
alter system disable restricted session;
客户端中文环境
配置环境变量 NLS_LANG=AMERICAN_AMERICA.AL32UTF8