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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can we use cursor inside the ref cursor

Status
Not open for further replies.

13579

Technical User
Apr 8, 2001
8
LK
i want to out the result as a ref cursor.can i include cursor in that ref cursor like the following


procedure get_data(idea_cur out GenericCursorType)
Is

Begin
open idea_cur for
select t.deptid,t.deptname,cursor(select a.id,a.namefrom TABLE(t.emp) a)
from dept t;




End ;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top