登陆sqlplus,在命令行输入
sqlplus sys/sys as sysdba;//登陆sqlplus
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 ZHS16GBK; //跳过超子集检测 SQL>ALTER DATABASE national CHARACTER SET INTERNAL ZHS16GBK;//报错错ORA-00933: SQL 命令未正确结束,不已经生效。
SQL>SHUTDOWN IMMEDIATE; SQL>STARTUP;
程序员的基础教程:菜鸟程序员