DROP FUNCTION
Descriptionβ
DROP FUNCTION deletes a custom function. The function can only be deleted when its name and parameter type are consistent.
Only the owner of the custom function have the permissions to delete the function.
Syntaxβ
DROP FUNCTION function_name(arg_type [, ...])
Parametersβ
function_name
: the name of function to be dropped.
arg_type
: the argument type of function to be dropped.
Examplesβ
-
Drop a function.
DROP FUNCTION my_add(INT, INT)