SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Script to generate replication procs for article

By Sean Gorman, 2007/04/23

Total article views: 386 | Views in the last 30 days: 33

This script is basically a front-end for the sp_"scriptproc" stored procedures that ship with MSSQL.  This will allow you to create ALL of your procs (INS, UPD and DEL) on the fly using the article name instead of having to first search for the article ID.  It also uses sp_scriptdynamicupdproc where appropriate.  This facilitates quick repairs to transactional replication problems when time is of the essence.

This proc is usually only useful in situations where you have not used a snapshot to generate the schema.

By Sean Gorman, 2007/04/23

Total article views: 386 | Views in the last 30 days: 33
Your response
 
 
Related tags

Replication    
 
Related content

You are a database architect of a SQL...

By Steve Jones | Category: Replication
(not yet rated) | 1,718 reads

Which of the following is not an option...

By Andy Warren | Category: Replication
(not yet rated) | 1,763 reads

Which of the following actions can be done...

By Andy Warren | Category: Replication
(not yet rated) | 1,571 reads
Already registered?  

Free registration required

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Register

E-mail address:
Password:
Password (confirm):

  

Subscriptions

We ask you to register on the site and subscribe to our newsletters. Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

We ask that you give the newsletter a try for a week. Over 200,000 SQL Server Professionals a day find it entertaining and useful. If not, you are welcome to unsubscribe at anytime.

Steve Jones
Editor, SQLServerCentral.com