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

This article was previously published under Q291851
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 351990 (SHILOH_BUGS)
SYMPTOMS
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.
CAUSE
The stored procedure used to create the sp_insxxx, sp_updxxx, and sp_delxxx stored procedures does not take into account the publication id.
RESOLUTION
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 theMicrosoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
STATUS
Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
Properties

Article ID: 291851 - Last Review: 01/16/2015 21:55:53 - Revision: 3.2

Microsoft SQL Server 2000 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix kbqfe kbsqlserv2000sp1fix KB291851
Feedback