Oracle8i Replication Management API Reference
Release 2 (8.1.6)

A76958-01

Library

Product

Contents

Index

Prev Up Next

Replication Management API Reference, 53 of 179


ADD_GROUPED_COLUMN procedure

This procedure adds members to an existing column group. You must call this procedure from the master definition site.

Syntax

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

Parameters

Table 8-82 ADD_GROUPED_COLUMN Procedure Parameters
Parameter  Description 
sname
 

Schema in which the replicated table is located. 

oname
 

Name of the replicated table with which the column group is associated. 

column_group
 

Name of the column group to which you are adding members. 

list_of_column_names
 

Names of the columns that you are adding to the designated column group. 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. 

Table 8-83 ADD_GROUPED_COLUMN Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

missingobject
 

Specified table does not exist. 

missinggroup
 

Specified column group does not exist. 

missingcolumn
 

Specified column does not exist in the specified table. 

duplicatecolumn
 

Specified column is already a member of another column group. 

missingschema
 

Specified schema does not exist. 

notquiesced
 

Object group to which the specified table belongs is not quiesced. 


Prev Up Next
Oracle
Copyright © 1999 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index