FIX: Merge Replication Stored Procedures May Be Scripted Incorrectly When an Article is in Two Publications

Article translations Article translations
Article ID: 291851 - View products that this article applies to.
This article was previously published under Q291851
BUG #: 351990 (SHILOH_BUGS)
Expand all | Collapse all


The stored procedures that the the Merge Agent uses may be scripted incorrectly under the following conditions:
  • A table is used as an article in two publications.
  • One of the publications uses a Join filter and the other publication does not use a Join filter.
  • A subscriber subscribes to both publications. The publication may exist on separate publishing servers or there may be two publications on the same publishing server.
The stored procedures scripted for the publication that does not use a Join Filter may be scripted and reference tables used in the Join filter in the other publication. The stored procedures affected are the sp_insxxx, sp_updxxx, and sp_delxxx stored procedures on the subscriber.


The stored procedure used to create the sp_insxxx, sp_updxxx, and sp_delxxx stored procedures does not take into account the publication id.


To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack


Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.


Article ID: 291851 - Last Review: November 6, 2003 - Revision: 3.2
  • Microsoft SQL Server 2000 Standard Edition
kbbug kbfix kbqfe kbsqlserv2000sp1fix KB291851

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from