Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.tools -> recordset in a recordset
Hi,
I'm currently optimising an application in VB using ADO w/ Oracle OLE DB.
the SQL query below work fine, when used through ADO
it returns a recordset where each row
contains columns from the header table (tmpFunctions)
and one column is an other recordset containing
the detail (tmpOperations) associated to each header.
My question is : Is it possible to build a stored procedure that returns a recordset containing a recordset as one of it columns ?
thanks
Patrick
SHAPE
Select tmpFunctions.Function, tmpFunctions.Days, tmpFunctions.Contractor, MA_Contractors.Name, tmpFunctions.Minutes_Per_Unit , tmpFunctions.Cost From tmpFunctions, MA_Contractors Where tmpFunctions.Contractor = MA_Contractors.Contractor(+) and TaskId = gTaskIDH
tmpOperations.Function From tmpOperations, MA_Operations Where tmpOperations.Operation = MA_Operations.Operation(+) And TaskId = gTaskIDH