Professional Documents
Culture Documents
Grid Computing
High Availability
Data Warehousing
Content
Management and
Unstructured Data
Information
Integration
Security
Videos
Pgina 1 de 3 DROP DATABASE
03/06/2014 http://docs.oracle.com/cd/B28359_01/backup.111/b28273/rcmsynta019.htm
Syntax Element Description
are known to the recovery catalog but no longer exist in
the target database control file.
NOPROMPT Does not prompt for confirmation before deleting the
database.
Example
Example 2-69 Deleting a Database
In this example, you want to delete a test database called test1 that is
registered in the recovery catalog. You start the RMAN client, connect to
database test1 as TARGET, and connect to the recovery catalog. You then
run the following commands to delete the target database files, as well as
all backups, copies, and archived logs associated with the database:
RMAN> CONNECT TARGET SYS@test1
target database Password: password
connected to target database: TEST1 (DBID=39525561)
RMAN> STARTUP FORCE MOUNT
RMAN> SQL 'ALTER SYSTEM ENABLE RESTRICTED SESSION';
RMAN> DROP DATABASE INCLUDING BACKUPS NOPROMPT;
Need an example? Tell us more.
Reader Comment
Subject
From Anonymous (or Sign In)
Hide Navigation
Search
This Book Entire
Library
Advanced Search
Reference
Home Master Index
Master Glossary Book
List Data Dictionary
SQL Keywords
Acronyms
Initialization
Parameters Error
Messages
Contents
Oracle Database
Backup and
Recovery Reference
Preface
About RMAN
Commands
RMAN
Commands
RMAN Subclauses
Recovery Catalog
Views
Deprecated RMAN
Syntax
RMAN
Compatibility
Categories
Installation
Getting Started
Administration
Application
Development
Grid Computing
High Availability
Data Warehousing
Content
Management and
Unstructured Data
Information
Integration
Security
Videos
Pgina 2 de 3 DROP DATABASE
03/06/2014 http://docs.oracle.com/cd/B28359_01/backup.111/b28273/rcmsynta019.htm
Comments, corrections, and suggestions are forwarded to authors every
week. By submitting, you confirm you agree to the terms and conditions.
Use the OTN forums for product questions. For support or consulting, file
a service request through My Oracle Support.
Submit
Previous
Next
Copyright2004,
2008,Oracle.Allrightsreserved.
Legal Notices
Home
Book
List
Contents
Index Master
Index
Hide Navigation
Search
This Book Entire
Library
Advanced Search
Reference
Home Master Index
Master Glossary Book
List Data Dictionary
SQL Keywords
Acronyms
Initialization
Parameters Error
Messages
Contents
Oracle Database
Backup and
Recovery Reference
Preface
About RMAN
Commands
RMAN
Commands
RMAN Subclauses
Recovery Catalog
Views
Deprecated RMAN
Syntax
RMAN
Compatibility
Categories
Installation
Getting Started
Administration
Application
Development
Grid Computing
High Availability
Data Warehousing
Content
Management and
Unstructured Data
Information
Integration
Security
Videos
Pgina 3 de 3 DROP DATABASE
03/06/2014 http://docs.oracle.com/cd/B28359_01/backup.111/b28273/rcmsynta019.htm