FIX: SQL Server Replication Synchronization to DB2 Subscriber Fails with Numeric Data Type

This article was previously published under Q281191
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 58503 (SQLBUG_70)
When performing synchronization against a DB2 subscriber, if the table being replicated contains a numeric column, the distribution agent may fail with the following error message:
A SQL error has occurred. Please consult the documentation for your specific DB2 version for a description of the associated Native Error and SQL State. SQLSTATE: 42601, SQLCODE: -104.
This behavior is caused by the binding of binary data to the OLE DB data type DBTYPE_NUMERIC or DBTYPE_DECIMAL.
Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0
For more information, contact your primary support provider.
For more information regarding OLE DB datatypes and data type conversions, see the Microsoft Data Access Components (MDAC) 2.6 Software Developers Kit, which is available for download at the following Microsoft Web site:

Article ID: 281191 - Last Review: 10/21/2013 04:30:56 - Revision: 3.3

Microsoft SQL Server 7.0 Standard Edition

  • kbnosurvey kbarchive kbbug kbfix KB281191