statement

DROP PROCEDURE

Removes a procedure by signature; it does not undo earlier procedure calls. 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 PROCEDURE name()

Working Example

Example Snippetsql
CREATE PROCEDURE lab_add() LANGUAGE SQL AS 'INSERT INTO customers VALUES (4, ''Mina'')';DROP PROCEDURE lab_add();
SQL Reference