SQL Flow Field Guide

sys.sp_addmergealternatepublisher

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

Adds the ability for a Subscriber to use an alternate synchronization partner.

What changes

Input
Not stated in the Microsoft summary.
Output or change
Adds the ability for a Subscriber to use an alternate synchronization partner.

Syntax at a glance

sys.sp_addmergealternatepublisher
    [ @publisher = ] N'publisher'
    , [ @publisher_db = ] N'publisher_db'
    , [ @publication = ] N'publication'
    , [ @alternate_publisher = ] N'alternate_publisher'
    , [ @alternate_publisher_db = ] N'alternate_publisher_db'
    , [ @alternate_publication = ] N'alternate_publication'
    , [ @alternate_distributor = ] N'alternate_distributor'
    [ , [ @friendly_name = ] N'friendly_name' ]
    [ , [ @reserved = ] N'reserved' ]
[ ; ]

Work example

Adds the ability for a Subscriber to use an alternate synchronization partner.

Write a proposed call on paper. Name the target, required permission, expected change, and recovery step before any lab use.

Check your work What can this procedure change or start, and what permission does it need?

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