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


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 48-92 EXECUTE_DDL Procedure Parameters
Parameter  Description 
gname
 

Name of the master group. 

master_list
 

A comma-separated list of master sites at which you want to execute the supplied DDL. Do not put any spaces 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 that lists the master sites where 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 execute 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 48-93 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-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