当前位置:操作系统 > Unix/Linux >>

DROP DATABASE ORA-01504问题

DROP DATABASE ORA-01504问题
 
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-
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,