The RETURN statement terminates the execution of the current routine at once.
Example:
At the end of an SQL-PL function, the result of this function can be returned with RETURN (result).
Syntax: