FIX: IN and UNION Clauses Produce Incorrect Column Count (283842)
The information in this article applies to:
- Microsoft OLE DB Provider for Oracle 2.5
- Microsoft OLE DB Provider for Oracle 2.6
- Microsoft Data Access Components 2.5
- Microsoft Data Access Components 2.5 SP1
- Microsoft Data Access Components 2.6
This article was previously published under Q283842 SYMPTOMS
With the Microsoft OLE DB Provider for Oracle (MSDAORA), the execution of a SQL statement that contains both an IN and a UNION clause may produce an ActiveX Data Objects (ADO) Recordset object that contains an incorrect number of columns.
This problem occurs when using an ADO client-side cursor (which means that the CursorLocation property is set to adUseClient) but works correctly when using a server-side cursor.
RESOLUTION To resolve this problem, obtain the latest service pack for Microsoft MDAC 2.5. For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 293312INFO: How to Obtain the Latest MDAC 2.5 Service Pack To resolve this problem, obtain the latest service pack for Microsoft Data Access Components 2.6. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
300635 INFO: How to Obtain the Latest MDAC 2.6 Service Pack
Hotfix
The English version of this fix should have the following file attributes or later:
Version Size File name Platform
-------------------------------------------------------
2.53.6007.0 209,168 Msdaora.dll x86
WORKAROUND
The problem does not occur if you use a server-side cursor; the CursorLocation property is set to adUseServer.
STATUSMicrosoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Microsoft Data Access Components 2.6 Service Pack 2, MDAC 2.5 SP3, and MDAC 2.7.
Modification Type: | Major | Last Reviewed: | 4/7/2006 |
---|
Keywords: | kbQFE KBHotfixServer kbMDAC250SP3fix kbbug kbfix kbmdac260sp2fix kbOracle kbProvider KB283842 |
---|
|