PRB: CLongBinary Edits Fail with SQL Server SnapshotLast reviewed: June 26, 1997Article ID: Q156296 |
The information in this article applies to:
SYMPTOMSWhen calling CRecordset::Edit() followed by CRecordset::Update() to update an image field in a snapshot recordset, you may receive the following errors:
Incorrect syntax near the keyword 'UPDATE'. State:37000,Native:156,Origin:[Microsoft][ODBC SQL Server Driver] [SQL Server] Line 1: Incorrect syntax near '='. State:37000,Native:170,Origin:[Microsoft][ODBC SQL Server Driver] [SQL Server] CAUSEThere is a bug in the Microsoft SQL Server ODBC driver version 2.65.0201, which ships with Visual C++ version 4.2.
RESOLUTIONUpgrade your SQL Server ODBC driver to version 2.65.0213, which comes with Microsoft Visual C++, Enterprise Edition, version 4.2 or with the Service Pack 1 for Microsoft SQL Server version 6.5.
MORE INFORMATIONThis problem occurs only when the cursor library is loaded and the recordset is opened as a snapshot. Dynasets without the cursor library do not display this problem.
REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q152709 TITLE : FIX: Update of BLOB Data w/SQL Server 2.65.0201 Driver Stops |
Keywords : kberrmsg kbprg MfcDatabase kbprb kbprg
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |