sys.sp_addpullsubscription
Adds a pull subscription to a snapshot or transactional publication.
What changes
- Input
- Not stated in the Microsoft summary.
- Output or change
- Adds a pull subscription to a snapshot or transactional publication.
Syntax at a glance
sys.sp_addpullsubscription
[ @publisher = ] N'publisher'
[ , [ @publisher_db = ] N'publisher_db' ]
, [ @publication = ] N'publication'
[ , [ @independent_agent = ] N'independent_agent' ]
[ , [ @subscription_type = ] N'subscription_type' ]
[ , [ @description = ] N'description' ]
[ , [ @update_mode = ] N'update_mode' ]
[ , [ @immediate_sync = ] immediate_sync ]
[ ; ]
Work example
Adds a pull subscription to a snapshot or transactional publication.
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.