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 -

python - Received unregistered task using Celery with Django -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -