Answered by:
Generate Script

Question
-
How do I generate script for a Push Subscription?
Monday, July 15, 2013 5:57 AM
Answers
-
It seems you already have a existing replication setup and you want to script it.
Can use below link to script out:
http://msdn.microsoft.com/en-us/library/ms151213%28v=sql.105%29.aspx
Also, please describe more what exactly you are looking ?
Please click the Mark as answer button and vote as helpful if this reply solves your problem
Monday, July 15, 2013 2:33 PM -
Neha is correct, if you would like to script out an existing push subscription then the link he provided has the steps necessary to generate a script.
If you would like to create a new push subscription using a script then follow the steps in How to: Create a Push Subscription (Transact-SQL Programming).
Monday, July 15, 2013 3:54 PM -
You may find this link handy.
http://dba.stackexchange.com/questions/25210/how-to-script-out-push-subscription-creation-at-the-subscriber
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
- Marked as answer by Fanny Liu Monday, July 22, 2013 1:42 AM
Monday, July 15, 2013 4:20 PMAnswerer
All replies
-
40 over Views but not a single reply. I guess the problem is not catchy...Monday, July 15, 2013 8:15 AM
-
It seems you already have a existing replication setup and you want to script it.
Can use below link to script out:
http://msdn.microsoft.com/en-us/library/ms151213%28v=sql.105%29.aspx
Also, please describe more what exactly you are looking ?
Please click the Mark as answer button and vote as helpful if this reply solves your problem
Monday, July 15, 2013 2:33 PM -
Neha is correct, if you would like to script out an existing push subscription then the link he provided has the steps necessary to generate a script.
If you would like to create a new push subscription using a script then follow the steps in How to: Create a Push Subscription (Transact-SQL Programming).
Monday, July 15, 2013 3:54 PM -
You may find this link handy.
http://dba.stackexchange.com/questions/25210/how-to-script-out-push-subscription-creation-at-the-subscriber
looking for a book on SQL Server 2008 Administration? http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search? http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941
- Marked as answer by Fanny Liu Monday, July 22, 2013 1:42 AM
Monday, July 15, 2013 4:20 PMAnswerer