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


ADD_PRIORITY_datatype Procedure

This procedure adds a member to a priority group. You must call this procedure from the master definition site. The procedure that you must call is determined by the datatype of your priority column. You must call this procedure once for each of the possible values of the priority column.

See Also:

Oracle9i Replication for more information about conflict resolution methods 

Syntax

DBMS_REPCAT.ADD_PRIORITY_datatype (
   gname              IN   VARCHAR2, 
   pgroup             IN   VARCHAR2, 
   value              IN   datatype, 
   priority           IN   NUMBER);

where datatype:

{ NUMBER
| VARCHAR2
| CHAR
| DATE
| RAW
| NCHAR
| NVARCHAR2 }

Parameters

Table 48-8 ADD_PRIORITY_datatype Procedure Parameters
Parameter  Description 
gname
 

Master group for which you are creating a priority group. 

pgroup
 

Name of the priority group. 

value
 

Value of the priority group member. This is one of the possible values of the associated priority column of a table using this priority group. 

priority
 

Priority of this value. The higher the number, the higher the priority. 

Exceptions

Table 48-9 ADD_PRIORITY_datatype Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

duplicatevalue
 

Specified value already exists in the priority group. 

duplicatepriority
 

Specified priority already exists in the priority group. 

missingrepgroup
 

Specified master group does not exist. 

missingprioritygroup
 

Specified priority group does not exist. 

typefailure
 

Specified value has the incorrect datatype for the priority group. 

notquiesced
 

Specified master group is not quiesced. 


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