User-defined function syntax

Report a typo

Put user-defined function syntax in the correct order:

Put the items in the correct order
RETURNS return_datatype
CREATE FUNCTION function_name ()
Function logics
BEGIN
DECLARE variable_name datatype
END
SET variable_name = initial_value

Create a free account to access the full topic