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, 5 of 7


DROP_SUBSCRIPTION Procedure

This procedure allows a publisher to drop a subscription that was created with a prior call to the DBMS_LOGMNR_CDC_SUBSCRIBE.GET_SUBSCRIPTION_HANDLE procedure.


Note:

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


Syntax

DBMS_LOGMNR_CDC_PUBLISH.DROP_SUBSCRIPTION ( 

    subscription_handle

IN NUMBER)

Parameters

Table 25-8 DROP_SUBSCRIPTION 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. 

Exceptions

Table 25-9 DROP_SUBSCRIPTION 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-31430  

The subscriber view was not dropped prior to making this call. Call the DBMS_LOGMNR_CDC_PUBLISH.DROP_SUBSCRIBER_VIEW procedure and then try the original command again. 

Usage Notes

Example

EXECUTE DBMS_LOGMNR_CDC_PUBLISH.DROP_SUBSCRIPTION ( \

SUBSCRIPTION_HANDLE => :subhandle);

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