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

Required privileges

To drop a function, a user must have the DROP privilege on the function.

Synopsis

drop_func syntax diagram

Parameters

See also