Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 97 of 179


MAKE_COLUMN_GROUP procedure

This procedure creates a new column group with one or more members. You must call this procedure from the master definition site.

See Also:

Oracle8i Replication for more information about conflict resolution methods. 

Syntax

DBMS_REPCAT.MAKE_COLUMN_GROUP ( 
   sname                 IN   VARCHAR2,
   oname                 IN   VARCHAR2,
   column_group          IN   VARCHAR2,
   list_of_column_names  IN   VARCHAR2 | DBMS_REPCAT.VARCHAR2s);

Parameters

Table 8-174 MAKE_COLUMN_GROUP Procedure Parameters
Parameter  Description 
sname
 

Schema in which the replicated table is located. 

oname
 

Name of the replicated table for which you are creating a new column group. 

column_group
 

Name that you want assigned to the column group that you are creating. 

list_of_column_names
 

Names of the columns that you are grouping. This can either be a comma-separated list or a PL/SQL table of column names. The PL/SQL table must be of type DBMS_REPCAT.VARCHAR2s. Use the single value '*' to create a column group that contains all of the columns in your table. 

Exceptions

Table 8-175 MAKE_COLUMN_GROUP Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the masterdef site. 

duplicategroup
 

Specified column group already exists for the table. 

missingobject
 

Specified table does not exist. 

missingcolumn
 

Specified column does not exist in the designated table. 

duplicatecolumn
 

Specified column is already a member of another column group. 

notquiesced
 

Replicated master group is not quiesced. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index