Skip to main content

Syntax

Parameter or clauseDescription
function_nameName of the UDAF you want to drop.
( argument_type [ , … ] )Optional: Argument types of the function.Specify the argument types when the name of the function you want to drop isn’t unique within the schema.
IF EXISTSDo not return an error if the specified function does not exist. A notice is issued in this case.

Usage

A function can be dropped using one of the following methods:
  • Full function signature:
  • Function name only, if it’s unique in its schema:
You can run SHOW FUNCTIONS; to list all existing UDFs to see if a function name is unique.

See also

CREATE AGGREGATE

Create a user-defined aggregate function

DROP FUNCTIONS

Drop a user-defined function