Updated on 2025-12-19 GMT+08:00
DROP FUNCTION
Function
Deletes an existing function.
Precautions
- Built-in functions cannot be deleted. Only user-defined functions can be deleted.
Syntax
1 | DROP FUNCTION [ IF EXISTS ] function_name; |
Parameter Description
| Parameter | Description | Value Range |
|---|---|---|
| IF EXISTS | Issues a notice instead of throwing an error if the specified external table does not exist. | - |
| function_name | Name of the function to be deleted. | Existing function name. |
Examples
Delete a user-defined function.
1 | DROP FUNCTION your_schema.func_add; |
Parent topic: DDL Syntax
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot