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, 30 of 69


DEFINE_PRIORITY_GROUP Procedure

This procedure creates a new priority group for a master group. You must call this procedure from the master definition site.

See Also:

Oracle9i Replication for more information about conflict resolution methods 

Syntax

DBMS_REPCAT.DEFINE_PRIORITY_GROUP (
   gname         IN   VARCHAR2, 
   pgroup        IN   VARCHAR2, 
   datatype      IN   VARCHAR2, 
   fixed_length  IN   INTEGER := NULL,
   comment       IN   VARCHAR2 := NULL);

Parameters

Table 48-61 DEFINE_PRIORITY_GROUP Procedure Parameters
Parameter  Description 
gname
 

Master group for which you are creating a priority group. 

pgroup
 

Name of the priority group that you are creating. 

datatype
 

Datatype of the priority group members. The datatypes supported are: CHAR, VARCHAR2, NUMBER, DATE, RAW, NCHAR, and NVARCHAR2

fixed_length
 

You must provide a column length for the CHAR datatype. All other types can use the default, NULL

comment
 

This user comment is added to the DBA_REPPRIORITY view. 

Exceptions

Table 48-62 DEFINE_PRIORITY_GROUP Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

missingrepgroup
 

Specified master group does not exist. 

duplicatepriority 
group
 

Specified priority group already exists in the master group. 

typefailure
 

Specified datatype is not supported. 

notquiesced
 

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