1. 程式人生 > >mysql事件的開啟和調用

mysql事件的開啟和調用

schedule hit blog reat event 2-0 table spa sch

mysql事件的開啟和調用

DELIMITER $$DROP EVENT IF EXISTS CCP_CREATE_TABLE_EVENT $$CREATE EVENT CCP_CREATE_TABLE_EVENT ON SCHEDULE EVERY 1 DAY STARTS ‘2016-12-01 01:00:00‘ON COMPLETION PRESERVE ENABLEDOBEGIN CALL CCP_COLL_LOG_TABLE_DAY(NULL); CALL CCP_SELF_PERF_TABLE_DAY(NULL);END $$DELIMITER ;

mysql事件的開啟和調用