RETURN statement terminates
execution of a stored function and returns the value
expr to the function caller. There
must be at least one
statement in a stored function. There may be more than one if
the function has multiple exit points.
This statement is not used in stored procedures, triggers, or
LEAVE statement can
be used to exit a stored program of those types.
Copyright © 1997, 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices