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

Line ending issue with Mercurial or Visual Studio -

R - Plot: How to format in 10-base scientific notation and put it text, mtex, title etc functions? -

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