How to alter the Event in MySQL DB
SQL: How to alter the Event in MySQL DB
Description
To alter an even in MySQL you can first list all the events using following command i.e. show events from TestTable;
Syntax Than after getting the list
ALTER EVENT EmpDataEventON SCHEDULE EVERY 1 hourDOINSERT INTO job_example VALUES (1,'prateek');
and it is now done.
ALTER EVENT EventTransactionValueON SCHEDULE EVERY 1 DAY STARTS '2017-11-28 23:30:00'DOCALL `Fetch_GET_EventTransactionValue`;SET GLOBAL event_scheduler = ON;

0comments
Post a Comment