Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 51 of 179


SUBTRACT procedure

This procedure removes snapshots from a refresh group.

See Also:

Chapter 3, "Snapshot Concepts & Architecture" in Oracle8i Replication

Syntax

DBMS_REFRESH.SUBTRACT (
   name       IN    VARCHAR2,
   { list     IN    VARCHAR2,
   | tab     IN    DBMS_UTILITY.UNCL_ARRAY, }
   lax       IN    BOOLEAN := FALSE);


Note:

This procedure is overloaded. The list and tab parameters are mutually exclusive. 


Parameters

Table 8-80 SUBTRACT Procedure Parameters
Parameter  Description 
name
 

Name of the refresh group from which you want to remove members. 

list
 

Comma-separated list of snapshots that you want to remove from the refresh group. (Synonyms are not supported.) These snapshots can be located in different schemas and have different master tables. However, all of the listed snapshots must be in your current database. 

tab
 

Instead of a comma-separated list, you can supply a PL/SQL table of names of snapshots that you want to refresh using the datatype DBMS_UTILITY.UNCL_ARRAY. If the table contains the names of n snapshots, then the first snapshot should be in position 1 and the + 1 position should be set to NULL

lax
 

Set this to FALSE if you want Oracle to generate an error message if the snapshot you are attempting to remove is not a member of the refresh group. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index