Microsoft Knowledge Base Email Alertz

(306787) - When using ActiveX Data Objects (ADO), it is not possible to return two resultsets from a single Oracle package/procedure. If you attempt to return two resultsets, the following error occurs: The operation requested by the application is not...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 306787 - Last Review: September 22, 2003 - Revision: 3.0

PRB: Returning Multiple Resultsets Fails Under ADO with Microsoft Oracle OLEDB Provider and ODBC Driver

This article was previously published under Q306787

SYMPTOMS

When using ActiveX Data Objects (ADO), it is not possible to return two resultsets from a single Oracle package/procedure. If you attempt to return two resultsets, the following error occurs:
"The operation requested by the application is not supported by the Provider"

CAUSE

The Microsoft ODBC driver for Oracle does have this capability, but only for the special feature of returning resultsets from packages/procedures. The driver itself does not support returning multiple results on a single statement. When the Microsoft OLEDB Provider for ODBC attempts to determine if the ODBC driver supports multiple resultsets, it returns FALSE. Because the OLEDB Provider for Oracle does not support the IMultipleResults interface either, that call fails with the above error message.

RESOLUTION

There is no workaround for this problem. When using ADO, you are limited to one resultset returned per Oracle package/stored procedure.

STATUS

This behavior is by design.

REFERENCES

For additional information, click the following article numbers to view the articles in the Microsoft Knowledge Base:
174679  (http://kbalertz.com/Feedback.aspx?kbNumber=174679/EN-US/ ) HOWTO: Retrieve Resultsets from Oracle Stored Procedures
239771  (http://kbalertz.com/Feedback.aspx?kbNumber=239771/EN-US/ ) HOWTO: Return a Resultset from Oracle Stored Procedures into an ADO Recordset
229919  (http://kbalertz.com/Feedback.aspx?kbNumber=229919/EN-US/ ) HOWTO: Retrieve a Recordset from an Oracle Stored Procedure Using ADO on ASP

APPLIES TO
  • Microsoft OLE DB Provider for Oracle Server 1.0
  • Microsoft OLE DB Provider for Oracle Server 1.0
  • Microsoft OLE DB Provider for Oracle Server 1.0
  • Microsoft OLE DB Provider for Oracle Server 1.0
  • Microsoft OLE DB Provider for Oracle Server 1.0
  • Microsoft ODBC for Oracle (Build 2.573.2927) 2.5
Keywords: 
kbdatabase kbdriver kboracle kbprb kbprovider KB306787
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate