pdb_setrepddl

Description

NoteThis command is available only for Oracle and Microsoft SQL Server.

Returns DDL replication status; enables or disables replication for DDL statements.

Syntax

To return replication status of DDL:

pdb_setrepddl

To enable or disable DDL replication:

pdb_setrepddl {enable|disable}

The default setting is disable.

Examples

Example 1

pdb_setrepddl

This command returns the current DDL replication status for the primary database.

Example 2

pdb_setrepddl enable

This command enables replication of DDL commands issued into the primary database after this point in time.

Example 3

pdb_setrepddl disable

This command disables replication of DDL commands issued into the primary database after this point in time.

Usage

NoteSome DDL commands are filtered even when DDL replication is enabled. See the Replication Agent Primary Database Guide for more information.

See also

See configuration parameters: ddl_password, ddl_username