本文共 1154 字,大约阅读时间需要 3 分钟。
本博文将介绍如何不使用DBCA(数据库配置助手)在Oracle 11中删除数据库。
export ORACLE_SID=SIDNAME
[oracle@Oracle11 ~]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.1.0 Production on Mon Dec 1 17:38:02 2014Copyright (c) 1982, 2009, Oracle. All rights reserved.Connected to an idle instance.
SQL> startupORACLE instance started.Total System Global Area 3340451840 bytesFixed Size 2217952 bytesVariable Size 1828718624 bytesDatabase Buffers 1493172224 bytesRedo Buffers 16343040 bytesDatabase mounted.Database opened.
SQL> shutdown immediate;Database closed.Database dismounted.ORACLE instance shut down.
SQL> startup mount exclusive restrictORACLE instance started.Total System Global Area 3340451840 bytesFixed Size 2217952 bytesVariable Size 1828718624 bytesDatabase Buffers 1493172224 bytesRedo Buffers 16343040 bytesDatabase mounted.
SQL> drop database;Database dropped.Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit ProductionWith the Partitioning, OLAP, Data Mining and Real Application Testing options