Oracle9i Supplied PL/SQL Packages and Types Reference
Release 1 (9.0.1)

Part Number A89852-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to beginning of chapter Go to next page

DBMS_REPCAT_RGT, 16 of 33


DROP_ALL_OBJECTS Procedure

This procedure allows the DBA to drop all objects or specific object types from a deployment template.


Caution:

This is a dangerous procedure that cannot be undone. 


Syntax

DBMS_REPCAT_RGT.DROP_ALL_OBJECTS (
   refresh_template_name   IN   VARCHAR2,
   object_type             IN   VARCHAR2 := NULL);

Parameters

Table 51-38 DROP_ALL_OBJECTS Procedure Parameters
Parameter  Description 
refresh_template_name
 

Name of the deployment template that contains the objects that you want to drop. 

object_type
 

If NULL, then all objects in the template are dropped. If an object type is specified, then only objects of that type are dropped. Objects of the following type may be specified:

SNAPSHOT                 PROCEDURE

INDEX                    FUNCTION

TABLE                    PACKAGE

VIEW                     PACKAGE BODY

SYNONYM                  TRIGGER

SEQUENCE                 DATABASE LINK
 

Exceptions

Table 51-39 DROP_ALL_OBJECTS Procedure Exceptions
Exception  Description 
miss_refresh_template
 

Specified deployment template name is invalid or does not exist. 

bad_object_type
 

Object type is specified incorrectly. See Table 51-38 for a list of valid object types. 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback