sysadmin skip_bad_repserver_cmd

Description

Instructs Replication Server to skip a failed replication definition request the next time Replication Agent starts. Use sysadmin skip_bad_repserver_cmd with the replication definition change request change process. See “Replication definition change request process,” in Chapter 9, “Managing Replicated Tables” in the Replication Server Administration Guide Volume 1 before you use sysadmin skip_bad_repserver_cmd.

WARNING! Use sysadmin skip_bad_repserver_cmd carefully. If you execute the command, and then restart the Replication Agent without executing the corrected replication definition command in the primary Replication Server, primary data may replicate using the wrong replication definition version.

Syntax

sysadmin skip_bad_repserver_cmd, pds_name, pdb_name

Parameters

pds_name

The primary data server name.

pdb_name

The primary database name.

Examples

Example 1

In this example, sysadmin skip_bad_repserver_cmd instructs Replication Server and Replication Agent to skip the last failed replication definition command in the pubs2 database of the SYDNEY_DS data server:

sysadmin skip_bad_repserver_cmd, SYDNEY_DS, pubs2

Usage

Permissions

sysadmin skip_bad_repserver_cmd requires “sa” permission.

See also

admin verify_repserver_cmd, rs_send_repserver_cmd, alter replication definition, alter applied function replication definition, alter request function replication definition, create replication definition, create applied function replication definition, create request function replication definition, drop replication definition