日期:2014-05-17 浏览次数:20739 次
C:\Users\Administrator>sqlplus /nolog
SQL*Plus: Release 10.2.0.4.0 - Production on Mon Jan 4 14:43:36 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
SQL> conn /as sysdba
Connected.
SQL> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> startup nomount;
ORACLE instance started.
Total System Global Area 574619648 bytes
Fixed Size 2067368 bytes
Variable Size 159384664 bytes
Database Buffers 406847488 bytes
Redo Buffers 6320128 bytes
SQL> alter system set control_files='Z:\TESTORCL\HISDATABASE\ORADATA\ORCL\CONTRO
L01.CTL','Z:\TESTORCL\HISDATABASE\ORADATA\ORCL\CONTROL02.CTL','Z:\TESTORCL\HISDA
TABASE\ORADATA\ORCL\CONTROL03.CTL' scope=spfile;
System altered.
SQL> alterdatabase open;
SP2-0734: unknown command beginning "alterdatab..." - rest of line ignored.
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01507: database not mounted
SQL> startup mount;
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> alter database open;
alter database open
*
ERROR at line 1:
ORA-01507: database not mounted
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown immediate;
ORA-01507: database not mounted
ORACLE instance shut down.
SQL>