Skip to main content

DROP FUNCTION

Introduced or updated: v1.2.116

Drops a user-defined function.

Syntax

DROP FUNCTION [ IF EXISTS ] <function_name>

Examples

DROP FUNCTION a_plus_3;

SELECT a_plus_3(2);
ERROR 1105 (HY000): Code: 2602, Text = Unknown Function a_plus_3 (while in analyze select projection).
Explore Databend Cloud for FREE
Low-cost
Fast Analytics
Easy Data Ingestion
Elastic Scaling
Try it today