Removes a function. Only the owner of a UDF may drop it.Syntax
DROP FUNCTION [ IF EXISTS ] <function_name>
[ IF EXISTS ]
If included in a query, this phrase prevents exceptions from being thrown should the specified function not exist.
The name of an existing user-defined function.
ExampleRemove a function with the name redact_ssn
DROP FUNCTION redact_ssn
Was this page helpful?
Glad to hear it! Thank you for your feedback. Sorry to hear that. Thank you for your feedback.