Dropping a Database Using the RMAN clinet in 12c

We are planing to drop a database and want to make sure you drop all the data files, online logs, and control files pertaining to the database. Of course, you can drop a database from SQL*Plus using the drop database 12c command.
use the drop database command to drop a database from the Rman prompt. Here are the steps to follow:
1) Startup the database in mount exclusive mode:
Sql> startup mount exclusive;
2) From the Rman interface, use the following command to drop the database;
Rman> connect target /;
Rman> drop database;
Do you really want to drop the database (enter YES or NO)? yes
Database dropped.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: