plsql - How to Mimic a Continue Statement in a Cursor-For-Loop in Oracle 10G PL/SQL? -


in oracle 10g, there no continue statement. typically mimicked in explicit cursor such:

open c_cur ; <<cont>> loop     ...     if condition = 10         goto cont ;     end if; end loop; close c_cur ; 

given loop keyword follows cursor in cursor-for-loop syntax, how can continue statement mimicked?

for rec in c_cur loop     ... end loop ; 

for rec in c_cur loop     ...     if condition = 10         goto cont ;     end if ;  <<cont>> null; -- end cannot preceeded <<marker>>  end loop ; 

Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -