INF: How to Use sp_scriptdynamicupdproc to Improve the Performance of Update Custom Procedures in SQL Server 2000 Transactional Replication (291001)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q291001 SUMMARY
SQL Server 2000 Service Pack 1 (SP1) adds a new stored procedure, sp_scriptdynamicupdproc, which may improve the performance of Transactional replication when replicating update statements that use custom stored procedures if some of the following conditions are meet: - The stored procedure is executed by using the MCALL method (this is the default).
- The subscriber table has a non-primary composite clustered index.
- The subscriber table has several indexes (usually more than 5).
- There are text or image columns published.
- A small number of columns are updated.
The subscriber must be Microsoft SQL Server 7.0, or later, to execute dynamic SQL statements by using the sp_executesql stored procedure, which the update custom procedure uses.
Modification Type: | Major | Last Reviewed: | 11/6/2003 |
---|
Keywords: | kbinfo kbSQLServ2000sp1fix KB291001 |
---|
|