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_SUBSCRIBE, 8 of 9


PURGE_WINDOW Procedure

The subscriber calls this procedure to notify the capture system it is finished processing a block of changes. The PURGE_WINDOW procedure sets the low-water mark so that the subscription no longer sees any data, effectively making the subscription window empty.

Syntax

DBMS_CDC_SUBSCRIBE.PURGE_WINDOW( 

    subscription_handle

IN NUMBER)

Parameters

Table 26-14 PURGE_WINDOW Procedure Parameters  
Parameter  Description 

subscription_handle 

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

Exceptions

Table 26-15 PURGE_WINDOW 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 handle must be activated before you use the EXTEND_WINDOW procedure. Call the ACTIVATE_SUBSCRIPTION procedure for this subscription handle and then try the original command again. 

ORA-31430  

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

Usage Notes

Example

EXECUTE sys.DBMS_CDC_SUBSCRIBE.PURGE_WINDOW ( \
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