Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Nested queries in function
Hi!
I have a function that should look like this in some pseduo languange.
How to do this function in pl/sql
----------- START --------------
theResult;
topQuery = select row from topTable;
while(topQuery.hasMoreRows){
subQuery = select row1 from subtable where row2=topQuery.row;
append subQuery to theResult
}
return theResult;
----------- END ---------------
Tia
--
Roland Carlsson
Certified Java programmer
Skövde
Sweden
ps: To X-mas I want a sql-expert
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Tue Nov 23 1999 - 03:31:15 CST