DROP FUNCTION
Removes a function. Only the owner of a UDF may drop it.
SyntaxDROP FUNCTION [ IF EXISTS ] <function_name>
Parameters
[ IF EXISTS ]
String
Optional
If included in a query, this phrase prevents exceptions from being thrown should the specified function not exist.
<function_name>
String
The name of an existing user-defined function.
Example
Remove a function with the name redact_ssnDROP 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.