Skip Headers

Oracle® Database Advanced Replication Management API Reference
10g Release 1 (10.1)

Part Number B10733-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to current chapter
Up
Go to next page
Next
View PDF

SUBTRACT Procedure

This procedure removes materialized views from a refresh group.

See Also:

Oracle Database Advanced Replication for more information about refresh groups

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 17-7 SUBTRACT Procedure Parameters  
Parameter Description
name

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

list

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

tab

Instead of a comma-delimited list, you can supply a PL/SQL index-by table of names of materialized views that you want to refresh using the datatype DBMS_UTILITY.UNCL_ARRAY. If the table contains the names of n materialized views, then the first materialized view 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 materialized view you are attempting to remove is not a member of the refresh group.