oracle基础教程(8)oracle修改字符集 1.用dba连接数据库 -->sqlplus / as sysdba 2.查看字符集 -->SELECT parameter, value FROM v$nls_parameters WHERE parameter LIKE '%CHARACTERSET'; 好像结果: PARAMETER ---------------------------------------------------------------- VALUE -------…
方法一:sqlplus “用户/密码 as sysdba” sqlplus “sys/sys as sysdba” 方法二:sqlplus/nolog SQL> conn /as sysdba SQL> shutdown immediate; SQL> startup mount SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION; SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0; SQL>…
1.登录sys关闭服务 [oracle@t-e ~]$ export ORACLE_SID=kamiltest1 [oracle@t-e ~]$ sqlplus / as sysdba SQL>shutdown immediate ; 2.修改字符集 SQL > startup mount ; SQL > alter system enable restricted session ; SQL > alter system set JOB_QUEUE_PROCESSES=; SQL…
PDBalter pluggable database PDBANBOB open; alter session set container=pdbanbob; ALTER SYSTEM ENABLE RESTRICTED SESSION; ALTER DATABASE CHARACTER SET INTERNAL_USE ZHS16GBK; No_cdb2.查询当前字符集SQL> select * from nls_database_parameters where parameter='NL…
最近在做修改字符集的实验,悲剧的是修改后重启,数据库启动不了. SQL> alter system set nls_language='AMERICAN' scope = spfile; SQL> alter system set nls_territory='AMERICAN' scope=spfile; SQL> shutdown immediate; SQL> startup ORA-12700: invalid NLS parameter value (nls_ter…