Skip Headers

Oracle® Database Recovery Manager Reference
10g Release 1 (10.1)

Part Number B10770-02
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to current chapter
Up
Go to next page
Next
View PDF

DELETE SCRIPT

Syntax

deleteScript::=

Text description of deleteScript.gif follows


Text description of deleteScript



Purpose

To delete a local or global stored script from the recovery catalog.

Restrictions and Usage Notes

Keywords and Parameters

Syntax Element Description

GLOBAL

Specifies that the script to delete is a global stored script. Otherwise, RMAN will look for a local stored script called script_name defined on the current target database. (If no such script is defined on the target database, RMAN will check for a global stored script named script_name and delete that script if it exists.)

'script_name'

The name of the script to delete.

See Also: "CREATE SCRIPT", "EXECUTE SCRIPT", "REPLACE SCRIPT", and "LIST" for LIST SCRIPT NAMES.

Example

Deleting a Script: Example

The following example deletes a stored script b_whole_10 from the recovery catalog:

rman TARGET / CATALOG rman/cat@catdb
RMAN> DELETE SCRIPT b_whole_10;

If a local stored script b_whole_10 is defined, it is deleted. If no local stored script b_whole_10 is defined but a global stored script b_whole_10 is defined, the global script is deleted.