Event with comments
mysql>
mysql>
mysql> CREATE EVENT DIRECT_INACTIVE
-> ON SCHEDULE AT NOW()
-> ON COMPLETION PRESERVE
-> DISABLE
-> COMMENT 'This event is inactive'
-> DO INSERT INTO EVENTS_INVOKED
-> VALUES ('DIRECT_INACTIVE', NOW());
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> drop table EVENTS_INVOKED;
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql>
Related examples in the same category