[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
DROP PROCEDURE
and DROP FUNCTION
DROP {PROCEDURE | FUNCTION} [IF EXISTS] sp_name |
This command is used to delete a stored procedure or function. That is, the specified routine is removed from the server.
The IF EXISTS
clause is a MySQL extension.
It prevents an error from occurring if the procedure or function does not
exist. A warning is produced that can be viewed with SHOW WARNINGS
.