Oracle 12C数据库除了可以使用DBCA删除掉以外,我们还可以使用drop database命令将其删除。

[oracle@rhel6u4 ~]$
sqlplus / as sysdba

SQL*Plus: Release Production on Thu Jun 27 23:56:36 2013
Copyright (c) 1982, 2013, Oracle.  All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> startup mount;
ORACLE instance started.

Total System Global Area  521936896 bytes
Fixed Size                  2290264 bytes
Variable Size             432016808 bytes
Database Buffers           79691776 bytes
Redo Buffers                7938048 bytes
Database mounted.

SQL> alter system enable restricted session;
System altered.

SQL> drop database;

Database dropped.