The information in this article applies to:
BUG #: 18279 (SQLBUG_65) SYMPTOMS
While replicating tables with datetime columns and custom stored procedures, the distribution task may fail with the following error: This problem happens only with the MDAC 2.0 components that include SQL Server ODBC driver version 3.60 and ODBC Driver Manager version 3.510.3022. CAUSE
A custom stored procedure can be used in an article for insert, update, and delete commands. This error occurs when the distribution task tries to execute a buffer that contains a mix of regular commands (insert, update, or delete) and custom stored procedure calls involving datetime columns. WORKAROUND
To work around this problem, set the CommitBatchSize (-c parameter) of the distribution task to 1. This sends individual transactions in separate batches and may avoid the problem.
STATUSMicrosoft has confirmed this to be a problem in SQL Server version 6.5. MORE INFORMATIONThis issue often occurs when following the instructions in the following article in the Microsoft Knowledge Base: Q190690 INF: How to Set Up Replication on Tables with an Identity Column Although this article requires only a custom stored procedure for inserts, you should also create custom stored procedures for deletes and updates. Additional query words: repl open database connectivity data access components date time col cols st proc sproc procs sprocs
Keywords : SSrvRep kbbug6.50 |
Last Reviewed: January 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |