Skip to main content

DROP FUNCTION

Removes a function. Only the owner of a UDF may drop it.

Syntax
DROP FUNCTION [ IF EXISTS ] <function_name>

Parameters

{{< sql-section file="data/sql/functions.json" data="droppingFunctionsParameters" >}}

Example

Remove a function with the name redact_ssn
DROP FUNCTION redact_ssn