FIX: Oracle Errors When Using Query-Based Updates Through ADO (178044)
The information in this article applies to:
- Microsoft OLE DB 2.0
- ActiveX Data Objects (ADO)
- Microsoft Data Access Components 1.5
- Microsoft ODBC for Oracle version 2.0 Build 2.73.7269
This article was previously published under Q178044 SYMPTOMS When using Query-Based Updates against Oracle databases
within ActiveX Data Objects (ADO), such as Visual InterDev's Data Form Wizard,
only forward-only cursors work without error. If you use Static, Keyset, or
Dynamic cursors and the ADO Update method, you receive the following error:
Microsoft][ODBC driver for Oracle]Degree of derived
table does not match column list Source Microsoft OLE DB Provider for
ODBC Drivers SQLState 21S02 NativeError 0 CAUSE A bug in the Microsoft Oracle ODBC driver version 2.0
caused any fields with quotes around them to fail with the error shown in the
SYMPTOMS section. Internally, ADO was putting quotes around each field name
when using Static, Keyset, or Dynamic cursor types. RESOLUTION Use forward-only cursors, or obtain the Microsoft ODBC for
Oracle Driver build 2.573.2927 or later. You can download the latest version of
Microsoft ODBC for Oracle as part of Microsoft Data Access Components from the
following Microsoft Web site: STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed at the beginning of this article.
Microsoft has confirmed that this is a problem
in Microsoft ODBC Driver for Oracle, version 2.573.2927 or later.
REFERENCES For additional information, please see the following
article in the Microsoft Knowledge Base: 190934
FIX: Degree of Derived Table Error When Updating Oracle Data
190475
INFO: Understanding Microsoft's Oracle ODBC Driver Versions
Modification Type: | Major | Last Reviewed: | 10/31/2003 |
---|
Keywords: | kbbug kbDatabase kbDriver kbfix kbOracle KB178044 kbAudDeveloper |
---|
|