Skip to main content
The DROP FUNCTION removes one or more from a database.
The “ statement performs a schema change. For more information about how online schema changes work in CockroachDB, see .

Required privileges

To drop a function, the user must be the owner of the function.

Synopsis

drop_func syntax diagram

Parameters

ParameterDescription
func_nameThe name of one of more functions to drop.
func_params_listAn optional list of the function parameters.

See also