sysadmin purge_first_open

Description

Purges the first open transaction from the inbound queue of a Replication Server.

Syntax

sysadmin purge_first_open, q_number, q_type

Parameters

q_number, q_type

Identifies the stable queue to be purged. Find these values using admin who, admin who, sqm, and admin who, sqt.

Examples

Example 1

Purges the first open transaction from queue 103:1:

sysadmin purge_first_open, 103, 1

Usage

WARNING! Use sysadmin purge_first_open only when you have determined (by using admin who, sqt and admin who, sqm) that the inbound queue is stuck on an uncommitted transaction.

Permissions

sysadmin purge_first_open requires “sa” permission.

See also

admin who, alter partition, create partition, sysadmin dump_queue, sysadmin purge_all_open