On Fri, March 20, 2009 12:04, oldyork90 wrote: > > Can I get away with something like this? > > execute immediate ' for item in ( select ray from energy ) > loop > do something > end loop > > > I haven't had any luck so far. > > >
As you have no doubt guessed... No you can't And on the topic of cursor for loops in general .. let's go to one of the masters Steven Feuerstein http://www.oracle.com/technology/oramag/oracle/08-nov/o68plsql.html it isn't quite "GO TO STATEMENT CONSIDERED HARMFUL" http://www.cs.utexas.edu/users/EWD/ewd02xx/EWD215.PDF but it is close. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Oracle PL/SQL" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Oracle-PLSQL?hl=en -~----------~----~----~----~------~----~------~--~---
