Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> possible to return modified ref cursor?
Hi,
I know how to do the standard Java-to-PL/SQL-REF CURSOR thing for returning ResultSets from stored procedures, but now I have a very complicated (impossible for me) SQL statement that I wanted to break up into several smaller statements. So, I want to essentially build a list of objects and return them to the caller. In PL/SQL, I would guess the nomenclature would be 'build a Collection of Types and return to caller via REF CURSOR'. (??)
The answer may have something to do with Collections or temporary tables. (??)
Here's what I have working:
![]() |
![]() |