A RETURN statement can be executed in: A stored procedure. An anonymous block. A RETURN statement returns one of the following types: A SQL data type A table. Use TABLE(...) in the RETURN statement. If your block is in a stored procedure, you must also specify the RETURNS TABLE......