Drop Database
Drop Database
Assistant
OR
See Also:
Oracle Database Backup and Recovery Basics to learn how to use the
equivalent RMAN command DROP DATABASE
Start SQL*Plus and connect to the target database with administrator privileges, then ensure
that the database is either mounted or open with no users connected. For example:
SQL> STARTUP FORCE MOUNT
Remove the datafiles and control files listed in the control file from the operating system.
For example:
SQL> DROP DATABASE; # deletes all database files, both ASM and non-ASM
If the database is on raw disk, the command does not delete the actual raw disk special
files.
Use an operating system utility to delete all backups and archived logs associated with
the database because these are not automatically deleted by the SQL*Plus command. For
example:
% rm /backup/* ?/oradata/trgt/arch/*