Removes an event monitor definition from the Database catalogs. Whenever an object is deleted, its description is deleted from the catalog and any packages that reference the object are invalidated.
Scope
This statement can be embedded in an application program or issued interactively. It is an executable statement that can be dynamically prepared.
Authorization
The authorization ID of the DROP statement when dropping an event monitor must have SYSADM or DBADM authority
Command Syntax
>>-DROP------EVENT--MONITOR--event-monitor-name----------------><
Command Parameters
If the identified event monitor is ON, an error (SQLSTATE 55034) is raised. Otherwise, the event monitor is deleted.
If there are event files in the target path of the event monitor when the event monitor is dropped, the event files are not deleted.
An event monitor must be stopped or OFF before it can be deleted. Dropping an event monitor does not erase the target directory.