ALTER EVENT
Modifies one or more characteristics of an existing event.
Syntax
Description
The ALTER EVENT
statement is used to change one or more of the
characteristics of an existing event without the need to drop and recreate it.
The syntax for each of the DEFINER
, ON SCHEDULE
, ON COMPLETION
,COMMENT
, ENABLE
/
DISABLE
, and DO
clauses is exactly the
same as when used with CREATE EVENT.
This statement requires the EVENT privilege.
When a user executes a successful ALTER EVENT
statement, that user becomes
the definer for the affected event.
(In MySQL 5.1.11 and earlier, an event could be altered only by its definer, or by a user having the SUPER privilege.)
ALTER EVENT
works only with an existing event:
Examples
See Also
This page is licensed: GPLv2, originally from fill_help_tables.sql
Last updated
Was this helpful?