Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> a pl/sql question?
Hi All,
I was wondering if someone can tell me what the difference is between the following two pl/sql logics? To me, they are the same.
(1).
open c1;
loop begin fetch c1 into .... --- some variables exit when c1%notfound; insert into temp .... (the values of those variables) end; end loop;
(2).
open c1;
loop begin fetch c1 into .... --- some variables; exit when c1%notfound; end; begin insert into temp .... (the values of those variables) end; end loop;
Thank you very much for your help.
Best Regards,
Yongge
yliu_at_creighton.edu
Received on Wed Mar 08 2000 - 14:52:20 CST