Andrej Hopko wrote: >> for item in ( sdfsdfsdfsdfsdfsdf from MYTABLE sdfsdfsdfsdfsdfsdf ) >> loop >> update MYTABLE sfsdfsdfsdfsdfsdfsdf >> Is this legal? Can it be done? > In Oracle there is a clause FOR UPDATE in SELECT statement - this way it > should definetely work
Exactly (select...for update and "where current of") Look at this examples: http://www.techonthenet.com/oracle/cursors/current_of.php Mariusz Masewicz -- You received this message because you are subscribed to the Google Groups "Oracle PL/SQL" group. To post to this group, send email to Oracle-PLSQL@googlegroups.com To unsubscribe from this group, send email to oracle-plsql-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Oracle-PLSQL?hl=en