RETURN
statement in combination with other statements are available in the SQL
routines examples documentation.
All routines must contain a RETURN
statement at the end of the top-level
block in the FUNCTION
declaration, even if it’s unreachable.