Skip to Main Content
Oracle Distributed Systems
book

Oracle Distributed Systems

by Charles Dye
April 1999
Intermediate to advanced content levelIntermediate to advanced
552 pages
15h 39m
English
O'Reilly Media, Inc.
Content preview from Oracle Distributed Systems

Name

DBMS_REPCAT.EXECUTE_DDL

Synopsis

CREATE_MASTER_REPOBJECT and DROP_MASTER_REPOBJECT do not support every type of object. For example, you cannot use these procedures to drop and create constraints. Enter the EXECUTE_DDL procedure. EXECUTE_DDL allows you to perform DDL at one or more master sites. The replication group may or may not be quiesced. You can monitor the progress of the DDL call by monitoring the REPCATLOG data dictionary view (DBA_REPCATLOG).

PROCEDURE DBMS_DEFER_SYS.EXECUTE_DDL
   (gname        IN VARCHAR2 := '',
    {master_list IN VARCHAR2 := NULL, | 
    master_table IN dbms_utility.dblink_array,}
    ddl_text     IN VARCHAR2,
    sname        IN VARCHAR2 := '');

Parameters

Parameter Name

Description

gname

Name of the replicated object group.

master_list

Comma-separated string of master site global names at which DDL is to be performed. If NULL (the default), DDL is applied at all master sites in the replication group. Use either parameter master_list or master_table.

master_table

PL/SQL table of master site global names at which DDL is to be performed. Use either parameter master_list or master_table.

ddl_text

DDL statement to apply.

sname (Oracle7 only)

Schema name (provided for pre-Oracle 7.3 compatibility).

Exceptions

Exception Name

Number

Description

commfailure

–23317

Unable to communicate with the master site.

ddlfailure

–23318

Unable to perform DDL.

nonmaster

–23312

At least one site in master_list or master_table is not a master site.

nonmasterdef

–23312

Calling site is not a master definition site.

Restrictions

  • This procedure ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Oracle Internals

Oracle Internals

Donald K. Burleson
Expert Oracle RAC 12c

Expert Oracle RAC 12c

Syed Jaffar Hussain, Tariq Farooq, Riyaj Shamsudeen, Kai Yu
Expert Oracle Exadata, Second Edition

Expert Oracle Exadata, Second Edition

Martin Bach, Karl Arao, Andy Colvin, Frits Hoogland, Randy Johnson, Kerry Osborne, Tanel Poder

Publisher Resources

ISBN: 1565924320Supplemental ContentCatalog PageErrata