DROP DATABASE ORA-01504

来源:互联网 发布:联合办公网络设计方案 编辑:程序博客网 时间:2024/05/29 18:17
oracle 11g for win2008dc,drop database.
C:\Users\Administrator>set nls_lang=AMERICAN_AMERICA.ZHS16GBK

C:\Users\Administrator>sqlplus "/as sysdba"

SQL*Plus: Release 11.2.0.3.0 Production on Wed May 8 08:36:45 2013

Copyright (c) 1982, 2011, Oracle.  All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> shutdown immediate;
ORA-01507: database not mounted


ORACLE instance shut down.
SQL> startup mount restiricted;
ORACLE instance started.

Total System Global Area 4275781632 bytes
Fixed Size                  2262048 bytes
Variable Size            2650803168 bytes
Database Buffers         1610612736 bytes
Redo Buffers               12103680 bytes
ORA-01504: database name 'RESTIRICTED' does not match parameter db_name 'ORCL'


SQL> shutdown immediate;
ORA-01507: database not mounted


ORACLE instance shut down.
SQL> startup nomount restrict;
ORACLE instance started.

Total System Global Area 4275781632 bytes
Fixed Size                  2262048 bytes
Variable Size            2650803168 bytes
Database Buffers         1610612736 bytes
Redo Buffers               12103680 bytes
SQL> alter database mount;

Database altered.

SQL> drop database;

Database dropped.

Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64
bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exit

C:\Users\Administrator>
-EOF-
原创粉丝点击