How to create a pull subscription (Transact-SQL)
To create a pull subscription (transactional)
- Execute sp_addpublication with allow_pull set to true to enable pull subscriptions at the Publisher.
- Execute sp_addsubscriber to register the Subscriber at the Publisher.
- Execute sp_addsubscription to create the subscription at the Publisher.
- Execute sp_addpullsubscription to create the pull subscription at the Subscriber.
- Execute sp_addpullsubscription_agent to create a scheduled job for the Distribution Agent at the Subscriber.
See Also
(c) 1988-98 Microsoft Corporation. All Rights Reserved.