FIX: Using Sp_executesql in Merge Agent Operations

This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 363708 (SHILOH_BUGS)
SYMPTOMS
Early implementations of the Merge Agent did not use the sp_executesql system stored procedure during the execution of statements that could be repeatedly run each time the Merge Agent ran. To improve the chances of re-using an existing plan (and to optimize Merge Agent execution), sp_executesql is implemented for statements that typically run each time the Merge Agent runs.

This fix implements sp_executesql in stored procedures that are run by the Merge Agent.
RESOLUTION

Service pack information

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

Hotfix information

The English version of this fix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version         Size             File name   ------------------------------------------------------------------------   26-Feb-2003  03:41  2000.80.777.0      29,244 bytes  Dbmslpcn.dll        08-Feb-2003  05:43                    786,432 bytes  Distmdl.ldf   08-Feb-2003  05:43                  2,359,296 bytes  Distmdl.mdf   30-Jan-2003  01:55                        180 bytes  Drop_repl_hotfix.sql   01-Feb-2003  00:32  2000.80.763.0   1,557,052 bytes  Dtsui.dll           30-Jan-2003  05:18                    746,470 bytes  Instdist.sql   30-Jan-2003  01:55                      1,402 bytes  Inst_repl_hotfix.sql   08-Feb-2003  06:40  2000.80.765.0      90,692 bytes  Msgprox.dll         02-Apr-2003  21:48  2000.80.796.0      57,904 bytes  Osql.exe            02-Apr-2003  23:15  2000.80.797.0     279,104 bytes  Pfutil80.dll        04-Apr-2003  21:27                  1,083,467 bytes  Replmerg.sql   04-Apr-2003  21:53  2000.80.798.0     221,768 bytes  Replprov.dll        08-Feb-2003  06:40  2000.80.765.0     307,784 bytes  Replrec.dll         01-Apr-2003  02:23                  1,084,828 bytes  Replsys.sql   03-Mar-2003  17:18                    104,958 bytes  Sp3_serv_uni.sql   19-Mar-2003  18:20  2000.80.789.0      28,672 bytes  Sqlevn70.rll   28-Feb-2003  01:34  2000.80.778.0     176,696 bytes  Sqlmap70.dll        08-Feb-2003  06:40  2000.80.765.0      57,920 bytes  Sqlrepss.dll        02-Apr-2003  18:42  2000.80.794.0   7,540,820 bytes  Sqlservr.exe        08-Feb-2003  06:40  2000.80.765.0      45,644 bytes  Sqlvdi.dll          26-Feb-2003  03:41  2000.80.777.0      29,244 bytes  Ssmslpcn.dll        26-Feb-2003  03:41  2000.80.777.0      82,492 bytes  Ssnetlib.dll        17-Mar-2003  14:49                    727,132 bytes  Sysmessages.sym   28-Feb-2003  01:34  2000.80.778.0      98,872 bytes  Xpweb70.dll      				
Note Because of file dependencies, the most recent hotfix or feature that contains the files may also contain additional files.


STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.This problem was first corrected in Microsoft SQL Server 2000 Service Pack 4.
replication repl publication subscription merge performance slow speed
Properties

Article ID: 817464 - Last Review: 02/27/2014 18:43:37 - Revision: 4.3

Microsoft SQL Server 2000 Developer Edition, Microsoft SQL Server 2000 Standard Edition, Microsoft SQL Server 2000 Enterprise Edition, Microsoft SQL Server 2000 Personal Edition, Microsoft SQL Server 2000, Workgroup Edition, Microsoft SQL Server 2000 Desktop Engine (Windows), Microsoft SQL Server 2000 Enterprise Edition 64-bit

  • kbnosurvey kbarchive kbhotfixserver kbqfe kbqfe kbsqlserv2000presp4fix kbfix kbbug KB817464
Feedback