The cdc_recboundary() function

Restarts data capture from the beginning of the CDC record currently being returned.

Syntax


1  cdc_recboundary ( session_ID )

Function argument

Table 1. The cdc_recboundary() argument
Argument Data Type Description
session_ID INTEGER The session ID of the open capture session.

Usage

Use the cdc_recboundary() function if you need to restart capture from the beginning of the current log record.

You must call this function from a client application. You cannot call this function from a user-defined routine that runs within the database server.

Return values

If successful, returns a positive integer representing the number of complete or partial log records that were captured but skipped during the current session.

If unsuccessful, returns an integer corresponding to an error code and updates the syscdcsess table with the error information.