Returns a result set in a readable format of the replicated commands stored in the distribution database.
sp_browsereplcmds [[@xact_seqno_start =] 'xact_seqno_start']
[,[@xact_seqno_end =] 'xact_seqno_end']
[,[@originator_id =] 'originator_id']
[,[@publisher_database_id =] 'publisher_database_id']
[,[@article_id =] 'article_id']
[,[@command_id =] command_id]
sp_browsereplcmds is a diagnostic utility used to examine replicated commands stored in the distribution database. sp_browsereplcmds returns this result set.
Column name | Data type | Description |
---|---|---|
xact_seqno | varbinary(16) | Sequence number of the command |
originator_id | int | ID of the command originator |
publisher_database_id | int | ID of the Publisher database |
article_id | int | ID of the article |
type | int | Type of command |
command | nvarchar(1024) | Transact-SQL command |
Long commands can be split across several rows in the results set.
sp_browsereplcmds is used in transactional replication.
Only members of the sysadmin fixed server role can execute sp_browsereplcmds.
sp_dumpparamcmd | sp_replshowcmds |
sp_replcmds | System Stored Procedures |