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!

RAISE and RETURN in FUNCTION

tx103108May 23 2008 — edited May 23 2008
I wish to RAISE an exception back to the calling procedure and RETURN a value from a FUNCTION ... what is the syntax? Can it be done?

FUNCTION myfunc RETURN BOOLEAN IS
....
EXCEPTION
WHEN OTHERS THEN
RAISE;
RETURN FALSE;

thank u.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2008
Added on May 23 2008
6 comments
1,018 views