sys.sp_dropmergesubscription
Drops a subscription to a merge publication and its associated Merge Agent.
What changes
- Input
- Not stated in the Microsoft summary.
- Output or change
- Drops a subscription to a merge publication and its associated Merge Agent.
Syntax at a glance
sys.sp_dropmergesubscription
[ [ @publication = ] N'publication' ]
[ , [ @subscriber = ] N'subscriber' ]
[ , [ @subscriber_db = ] N'subscriber_db' ]
[ , [ @subscription_type = ] N'subscription_type' ]
[ , [ @ignore_distributor = ] ignore_distributor ]
[ , [ @reserved = ] reserved ]
[ ; ]
Work example
Drops a subscription to a merge publication and its associated Merge Agent.
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.