Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 85 of 179


DROP_MASTER_REPOBJECT procedure

This procedure drops a replicated object from a replicated master group. You must call this procedure from the master definition site.

Syntax

DBMS_REPCAT.DROP_MASTER_REPOBJECT (
   sname          IN   VARCHAR2, 
   oname          IN   VARCHAR2, 
   type           IN   VARCHAR2, 
   drop_objects   IN   BOOLEAN     := FALSE);

Parameters

Table 8-149 DROP_MASTER_REPOBJECT Procedure Parameters
Parameter  Description 
sname
 

Name of the schema in which the object is located. 

oname
 

Name of the object that you want to remove from the replicated master group. 

type
 

Type of object that you want to drop. 

drop_objects
 

By default, the object remains in the schema, but is dropped from the replicated master group. That is, any changes to the object are no longer replicated to other master and snapshot sites. To completely remove the object from the replicated environment, set this parameter to TRUE. If the parameter is set to TRUE, the object is dropped from the database at each master site. 

Exceptions

Table 8-150 DROP_MASTER_REPOBJECT Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

missingobject
 

Specified object does not exist. 

typefailure
 

Specified type parameter is not supported. 

commfailure
 

At least one master site is not accessible. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index