数据库字符集
nls_database_parameters
客户端字符集
nls_instance_parameters
会话字符集
nls_session_parameters
Linux服务器字符集
LANG是针对Linux系统的语言、地区、字符集的设置。
NLS_LANG是针对Oracle语言、地区、字符集的设置。
shutdown immediate; startup mount; alter system enable restricted session; --alter system disable restricted session; ALTER SESSION SET SQL_TRACE=TRUE; 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 AL32UTF8; ORA-12712: new character set must be a superset of old character set RROR at line 1: 结果报错,提示新字符集必须是老字符集的超集。 改不了就强制改 alter database character set INTERNAL_USE ZHS16GBK; INTERNAL_USE是没有写在文档中的参数,用于强制完成字符集转化