Oracle8i Replication Management API Reference
Release 2 (8.1.6)

Part Number A76958-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Replication Management API Reference, 94 of 179


EXECUTE_DDL procedure

This procedure supplies DDL that you want to have executed at some or all master sites. You can call this procedure only from the master definition site.

Syntax

DBMS_REPCAT.EXECUTE_DDL (
   gname           IN   VARCHAR2,
   { master_list   IN   VARCHAR2     := NULL, 
   | master_table  IN   DBMS_UTILITY.DBLINK_ARRAY,}
   DDL_TEXT        IN   VARCHAR2);


Note:

This procedure is overloaded. The MASTER_LIST and MASTER_TABLE parameters are mutually exclusive. 


Parameters

Table 8-168 EXECUTE_DDL Procedure Parameters
Parameter  Description 
gname
 

Name of the replicated master group. 

master_list
 

A comma-separated list of master sites at which you want to execute the supplied DDL. There must be no extra white space between site names. The default value, NULL, indicates that the DDL should be executed at all sites, including the master definition site. 

master_table
 

A table of master sites at which you want to execute the supplied DDL. The first master should be at position 1, the second at position 2, and so on. 

ddl_text
 

The DDL that you want to have executed at each of the specified master sites. If the DDL is supplied without specifying a schema, then the default schema is the replication administrator's schema. Be sure to specify the schema if it is other than the replication administrator's schema. 

Exceptions

Table 8-169 EXECUTE_DDL Procedure Exceptions
Exception  Description 
nonmasterdef
 

Invocation site is not the master definition site. 

nonmaster
 

At least one site is not a master site. 

ddlfailure
 

DDL at the master definition site did not succeed. 

commfailure
 

At least one master site is not accessible. 


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index