Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 61 of 179


ALTER_PRIORITY_datatype procedure

This procedure alters the value of a member in 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.

See Also:

Oracle8i Replication for more information about conflict resolution methods. 

Syntax

DBMS_REPCAT.ALTER_PRIORITY_datatype (
   gname        IN   VARCHAR2, 
   pgroup       IN   VARCHAR2, 
   old_value    IN   datatype, 
   new_value    IN   datatype);

where datatype:

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

Parameters

Table 8-99 ALTER_PRIORITY_datatype Procedure Parameters
Parameter  Description 
gname
 

Replicated master group with which the priority group is associated. 

pgroup
 

Name of the priority group containing the value that you want to alter. 

old_value
 

Current value of the priority group member. 

new_value
 

New value that you want assigned to the priority group member. 

Exceptions

Table 8-100 ALTER_PRIORITY_datatype Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

duplicatevalue
 

New value already exists in the priority group. 

missingrepgroup
 

Specified replicated master group does not exist. 

missingprioritygroup
 

Specified priority group does not exist. 

missingvalue
 

Old value does not exist. 

paramtype
 

New value has the incorrect datatype for the priority group. 

typefailure
 

Specified value has the incorrect datatype for the priority group. 

notquiesced
 

Specified replicated master group is not quiesced. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index