Resultset via stored procedure in ORACLE 
Author Message
 Resultset via stored procedure in ORACLE

We have a CRecordset (VC++ 4.2). We are calling a stored procedure
(ORACLE) via ODBC (Openlink) and would like to obtain a result set as a
return value /OUT Parameter. We dont get any sensible results when we
try this.
Is it possible to do this?

Thanks for any help



Sat, 05 Jun 1999 03:00:00 GMT  
 Resultset via stored procedure in ORACLE

Quote:

> We have a CRecordset (VC++ 4.2). We are calling a stored procedure
> (ORACLE) via ODBC (Openlink) and would like to obtain a result set as a
> return value /OUT Parameter. We dont get any sensible results when we
> try this.
> Is it possible to do this?

> Thanks for any help

You can't return a resultset from an Oracle stored-procedure.
What you have to do is create a package, define a cursor in
your package, then use the stored-procedure to retrieve
a row everytime you call the stored-procedure. I call this
a persistent cursor. You can only make a cursor persistent
using a package.
-Duc


Sat, 05 Jun 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Resultset via stored procedure in ORACLE

2. multiple Resultsets from Stored Procedures

3. how to pass array to oracle stored procedure?

4. execv function fails when used as an Oracle external stored procedure

5. Oracle/C++ stored procedure call

6. Help with VC++ to Oracle using Stored Procedures

7. ATL - >Oracle - >Stored Procedure

8. ATL - >Oracle - >Stored Procedure

9. Use the stored procedure of Oracle?

10. ODBC + Oracle + MFC + Stored Procedure

11. Problems passing parameters to ORACLE stored procedure with ATL/OLEDB

12. how to retrieve a recordset from oracle stored procedure

 

 
Powered by phpBB® Forum Software