Switch to: V12V11V10V9V8V7V6V5

RETURN

RETURN expr

The RETURN statement terminates execution of a stored function and returns the value expr to the function caller. There must be at least one RETURN statement in a stored function. There may be more than one if the function has multiple exit points.

This statement can not used in stored procedures or triggers.