SET GLOBAL event_scheduler = 1;
delimiter //
drop event if exists test //
CREATE EVENT test
ON SCHEDULE
EVERY 5 SECOND
starts '2017-12-08 00:00:00'
DO
BEGIN
insert into
END //
delimiter //
drop event if exists test //
CREATE EVENT test
ON SCHEDULE
EVERY 5 SECOND
starts '2017-12-08 00:00:00'
DO
BEGIN
insert into
erp_commod_receive
set receive_order=1;
END //
delimiter ;
本文转自 Lee_吉 博客,原文链接: http://blog.51cto.com/12173069/2048572 如需转载请自行联系原作者