Updated on 2025-02-27 GMT+08:00

DROP PROCEDURE

Description

Drops a stored procedure.

Syntax

DROP PROCEDURE [ IF EXISTS  ] procedure_name ;

Parameters

  • IF EXISTS

    Reports a notice instead of an error if the specified stored procedure does not exist.

  • procedure_name

    Specifies the name of the stored procedure to be dropped.

    Value range: an existing stored procedure name.

Helpful Links

CREATE PROCEDURE