Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

returning recordsets from stored proc

Status
Not open for further replies.

kallavigv

Programmer
Sep 15, 1999
1
US
HI,<br>
<br>
I want to create a stored proc in Oracle 8 which 'll return a recordset. <br>
Can somebody help me a sample code?.<br>

 
Use the REFERENCE CURSOR as the technique to return a record<br>
set. You simply have to define a record type as the structure of the record in the record set. Then use that new<br>
type in the query which captures the record set.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top