Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
Drops an event from the database.
DROP EVENT [ IF EXISTS ] event-name
Use the IF EXISTS clause if you do not want an error returned when the DROP EVENT statement attempts to remove an event that does not exist.
Events are not owned so do not specify an owner (an owner specification is ignored).
You must have either the MANAGE ANY EVENT or DROP ANY OBJECT system privilege.
Not in the standard.
This example drops a fictitious example, MyEvent, from the database.
DROP EVENT MyEvent;