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

Required privileges

To drop a function, a user must have the DROP on 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