MySQL Reference Manual for version 4.0.18.

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

18.1.1.3 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.



This document was generated by rdg (Feb 25 2004) using texi2html