Article ID: 229919 - Last Review: July 2, 2004 - Revision: 5.3 How To Retrieve a Recordset from an Oracle Stored Procedure Using ADO on ASPThis article was previously published under Q229919 SUMMARY
This article demonstrates how to call an Oracle package to retrieve a recordset using ADO on Active Server Pages (ASP). This article assumes that:
MORE INFORMATION
To call an Oracle stored procedure, the stored procedure must be encapsulated within a package. The following sample uses an Oracle package that was assembled as an example in the Microsoft Knowledge Base article below:
174981
(http://support.microsoft.com/kb/174981/EN-US/
)
How To Retrieve Typical Resultsets from Oracle Stored Procedures
The script sample below does not use a Data Source Name (DSN) to connect to Oracle. It uses a DSN-less connection. (You can use a system DSN by commenting out the appropriate lines.) The sample uses ODBC to connect to Oracle.Note that you could also use the Microsoft OLE DB Provider for Oracle in this sample. To do so, comment out the appropriate lines. REFERENCES
For additional information, click the article number below to view it in the Microsoft Knowledge Base:
176086
(http://support.microsoft.com/kb/176086/EN-US/
)
How To Retrieve Recordsets from Oracle Stored Procs Using ADO
For information on why you must use an Oracle Package instead of an Oracle stored procedure, click the article number below to view it in the Microsoft Knowledge Base:
167225
(http://support.microsoft.com/kb/167225/EN-US/
)
How To Access an Oracle Database Using RDO
For additional information on ADO and to download the latest version of the Microsoft Data Access Components (MDAC), please see the following Microsoft Web site:
Universal Data Access Web Site
(http://msdn.microsoft.com/dataaccess)
APPLIES TO
| Article Translations
|

Back to the top
