The information in this article applies to:
SYMPTOMSWhen trying to UPDATE a recordset with the Microsoft Foundation Classes (MFC) ODBC classes you may get the following error:
CAUSEThe Microsoft Oracle ODBC driver is not looking for quoted column names when trying to match them for parsed column names. RESOLUTIONThe new Microsoft Oracle ODBC driver version 2.573.2927 or higher fixes this problem. The latest Microsoft Oracle ODBC can be downloaded as part of the Microsoft Data Access Components from the following Web address: http://www.microsoft.com/data/ STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This bug has been corrected in Microsoft's Oracle ODBC driver, version 2.573.2927 or higher. MORE INFORMATIONMFC ODBC is using SQLSetPos for the update. This error has also been seen with ActiveX Data Objects (ADO) for the same reasons. Steps to Reproduce BehaviorRun the three following DDL statements in SQL*Plus or ODBCTest against the Oracle server:
In ODBCTest, run the following code. Only the parameters that are manually
selected are shown here. Leave all other parameters alone.
SQLSetPos call causes the error.
NOTE: The classes in Visual C++ MFC ODBC call these ODBC APIs when they attempt to update a record, and that causes the same error message. REFERENCESFor additional information, please see the following article in the Microsoft Knowledge Base: Q178044 PRB: Oracle Errors When Using Query-Based Updates Through ADO Additional query words:
Keywords : kbADO kbDatabase kbDriver kbMFC kbODBC kbOracle kbSDKDataAc200fix kbGrpVCDB kbGrpMDAC |
Last Reviewed: November 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |