sql - MySQL event on given hour -
i want create event run function daily on given time (to more precise, 7:00 , 17:00), i've created code:
delimiter | create event kill_sleepers_event on schedule every (7, 17) day_hour comment 'clean sleepers @ 7:00 , 17:00 daily!' begin select func(); end |
workbench doesn't show syntax error, when try run it, there error:
error code: 1241. operand should contain 1 column(s)
so want ask if it's possible have event multiple launching time or have wrote them 2 separate entities?
Comments
Post a Comment