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 ] [ owner.]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.
You must have either the MANAGE ANY EVENT or DROP ANY OBJECT system privilege.
Automatic commit. Clears the Results tab in the Results pane in Interactive SQL.
This example drops a fictitious example, MyEvent, from the database.
DROP EVENT MyEvent;