statement

DROP FUNCTION

Removes a function identified by its input signature, which matters when overloads exist. Example target: PostgreSQL 17. Use only the isolated starter dataset; setup and expected results are in the batch evidence.

Formal Syntax & Structure

sql syntaxsql
DROP FUNCTION name(argument_type)

Working Example

Example Snippetsql
CREATE FUNCTION lab_double(integer) RETURNS integer LANGUAGE SQL AS 'SELECT $1 * 2';DROP FUNCTION lab_double(integer);
SQL Reference