SQL Flow Field Guide

sys.sp_browsereplcmds

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

Returns a result set in a readable version of the replicated commands stored in the distribution database.

What changes

Input
Returns a result set in a readable version of the replicated commands stored in the distribution database.
Output or change
No write is stated in the Microsoft summary.

Syntax at a glance

sys.sp_browsereplcmds
    [ [ @xact_seqno_start = ] N'xact_seqno_start' ]
    [ , [ @xact_seqno_end = ] N'xact_seqno_end' ]
    [ , [ @originator_id = ] originator_id ]
    [ , [ @publisher_database_id = ] publisher_database_id ]
    [ , [ @article_id = ] article_id ]
    [ , [ @command_id = ] command_id ]
    [ , [ @agent_id = ] agent_id ]
    [ , [ @compatibility_level = ] compatibility_level ]
[ ; ]

Work example

Returns a result set in a readable version of the replicated commands stored in the distribution database.

Read the warning and prerequisites. Describe the supported maintenance context without running the procedure.

Check your work When does Microsoft support using this internal procedure?

Open Microsoft Learn for full syntax, permissions, and details for your version.