Skip to content

Commit 8944691

Browse files
Update README.md
1 parent c637957 commit 8944691

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
11
# SQL_Event_Scheduler
22
MySQL 事件觸發器
3+
4+
5+
CREATE EVENT < event_name >
6+
ON SCHEDULE < EVERY 1 DAY STARTS CURRENT_TIMESTAMP >
7+
DO
8+
DELETE FROM `mytable` WHERE `publish_date` /*Event Body*/

0 commit comments

Comments
 (0)