Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Appending rows to a cursor
I have found a solution to my problem. The trick was to use PL/SQL
Tables and User-Defined Records:
FOR pre_record IN pre_cursor
LOOP OPEN main_cursor(pre_record.dMax, pre_record.sOrg, pre_record.nId); LOOP i:=i+1; FETCH main_cursor INTO my_table(i); EXIT WHEN main_cursor%NOTFOUND; END LOOP; CLOSE main_cursor; END LOOP;
Now I only have to figure out how to call the function from java... Anyway, thanks to all people who emailed me suggestions how to solve my problems.
//Mathias Received on Tue Sep 01 1998 - 04:41:29 CDT
![]() |
![]() |