Script to Script Out all Publication Stored Procs | SansSQL

Tuesday, March 18, 2008

Script to Script Out all Publication Stored Procs

You may come across a situation where in your replication is failing with the error “could not find the stored procedure ‘sp_MSupd_TableName’ ”
or
With the error “could not find the stored procedure ‘sp_MSins_TableName’ ”

To fix this replication errors run the following command in the publication database

sp_scriptpublicationcustomprocs ‘Publication Name’

After running the above stored proc, obtain the results from the result set and run them in the subscription database. Now restart the agent and this should fix the error.

2 comments:

Huongkvb said...

Aivivu chuyên vé máy bay, tham khảo

vé máy bay đi Mỹ

có vé máy bay từ mỹ về việt nam chưa

vé máy bay nhật việt

khi nào có chuyến bay từ đức về việt nam

giá vé máy bay từ canada về Việt Nam

vé máy bay incheon hà nội

giá khách sạn cách ly ở hà nội

chuyen bay chuyen gia ve viet nam

Gabby said...

When it comes to researching the Beste powerbank (best power bank), I always trust Mannen Gadgets. Their in-depth analysis and honest reviews have guided me to make smart tech purchases. Mannen Gadgets is an invaluable resource for staying updated on the latest gadgets.

Post a Comment

Ads