Skip to main content

DROP FUNCTION

Introduced or updated: v1.2.116

Drops an external 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).
Try Databend Cloud for FREE

Multimodal, object-storage-native warehouse for BI, vectors, search, and geo.

Snowflake-compatible SQL with automatic scaling.

Sign up and get $200 in credits.

Try it today