SQL*Plus: Release 10.2.0.3.0 - Production on 星期日 10月 9 09:30:42 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
ERROR:
ORA-12560: TNS: 协议适配器错误
请输入用户名:
C:\Documents and Settings\liangwei>oradim -startup -sid orcl
C:\Documents and Settings\liangwei>sqlplus / as sysdba
SQL*Plus: Release 10.2.0.3.0 - Production on 星期日 10月 9 09:33:10 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
已连接到空闲例程。
SQL> startup upgrade;
ORACLE 例程已经启动。
Total System Global Area 599785472 bytes
Fixed Size 1291964 bytes
Variable Size 180357444 bytes
Database Buffers 411041792 bytes
Redo Buffers 7094272 bytes
数据库装载完毕。
数据库已经打开。
SQL>@D:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catupgrd.sql;
SQL> select * from utl_recomp_errors;
SQL>
SQL> select name from v$database;
NAME
---------
ORCL
SQL>
SQL> show user
USER 为 "SYS"
SQL> @D:\oracle\product\10.2.0\db_1\RDBMS\ADMIN\catalog.sql;
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error and terminate the SQLPLUS session if the user is not SYS.
DOC> Disconnect and reconnect with AS SYSDBA.
DOC>######################################################################
DOC>######################################################################
SQL> shutdown immediate
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup
ORACLE 例程已经启动。
Total System Global Area 599785472 bytes
Fixed Size 1291964 bytes
Variable Size 230689092 bytes
Database Buffers 360710144 bytes
Redo Buffers 7094272 bytes
数据库装载完毕。
数据库已经打开。
SQL>