Question: mysql is user defined functions?
Answer: A user-defined function (UDF) is a way to extend MySQL with a new function that works like a native (built-in) MySQL function such as ABS() or CONCAT() . ... DECIMAL is a legal value after RETURNS , but currently DECIMAL functions return string values and should be written like STRING functions.