事务跟踪?
mysql中是否有类似ms sql下的事件查看器,用于更正前端提交给后端数据库的事务性sql语句?
mysql中是否有类似ms sql下的事件查看器,用于更正前端提交给后端数据库的事务性sql语句?
2015-12-07
如下:望采纳~
创建事件
语法:
CREATE EVENT [IF NOT EXISTS] event_name
ON SCHEDULE schedule
[ON COMPLETION [NOT] PRESERVE]
[ENABLE | DISABLE]
[COMMENT 'comment']
DO sql_statement
修改事件
语法:
ALTER EVENT event_name
[ON SCHEDULE schedule]
[RENAME TO new_event_name]
[ON COMPLETION [NOT] PRESERVE]
[COMMENT 'comment']
[ENABLE | DISABLE]
[DO sql_statement]
查看所有事件
SHOW EVENTS
举报