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_LOGMNR_CDC_PUBLISH, 4 of 7


DROP_SUBSCRIBER_VIEW Procedure

This procedure allows a publisher to drop a subscriber view in the subscriber's schema.


Note:

This procedure works the same way as the DBMS_LOGMNR_CDC_SUBSCRIBE.DROP_SUBSCRIBER_VIEW procedure. 


Syntax

DBMS_LOGMNR_CDC_PUBLISH.DROP_SUBSCRIBER_VIEW ( 

    subscription_handle

IN NUMBER,

    source_schema

IN VARCHAR2,

    source_table

IN VARCHAR2)

Parameters

Table 25-6 DROP_SUBSCRIBER_VIEW Procedure Parameters
Parameter  Description 

subscription_handle 

Unique number of the subscription handle that was returned by a previous call to the DBMS_LOGMNR_CDC_SUBSCRIBE.GET_SUBSCRIPTION_HANDLE procedure. 

source_schema 

Schema name where the source table resides. 

source_table 

Name of the published source table. 

Exceptions

Table 25-7 DROP_SUBSCRIBER_VIEW Procedure Exceptions
Exception  Description 

ORA-31425  

Subscription handle does not exist or handle does not belong to this user. Call the function again with a valid subscription handle. 

ORA-31429  

The subscription has not been activated. Check the subscription handle and correct it, if necessary. Call the DBMS_LOGMNR_CDC_SUBSCRIBE.ACTIVATE_SUBSCRIPTION procedure for this subscription handle and then try the original command again. 

ORA-31432  

The schema_name.source_table does not exist or does not belong to this subscription. Check the spelling of the schema_name and source_table parameters. Verify the specified table exists in the specified schema and is subscribed to by the subscription handle. 

ORA-31433  

The subscriber view does not exist. Either you specified an incorrect subscriber view or the view is already dropped. Check the name and specify the name of an existing subscriber view. 

Usage Notes

Example

EXECUTE sys.DBMS_CDC_SUBSCRIBE.DROP_SUBSCRIBER_VIEW( \

SUBSCRIPTION_HANDLE =>:subhandle, \
SOURCE_SCHEMA =>'scott', \
SOURCE_TABLE => 'emp');

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