Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

RETURN and EXIT in WHEN block

blueoraDec 29 2009 — edited Dec 29 2009
This is an excerpt from a 11g PL/SQL book.

The prototype for the WHEN block is

WHEN {predefined_exception | user_defined_exception | OTHERS} THEN

exception_handling_statement;

{RETURN | EXIT}

I've no clue what RETURN and EXIT do here. Can someone show the usage with some example code?

Thanks for your help.


--Rob
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 26 2010
Added on Dec 29 2009
6 comments
1,834 views