关于mysql:Mysql获取数据库的所有触发器SQL

3次阅读

共计 163 个字符,预计需要花费 1 分钟才能阅读完成。

获取表名 + 触发器名称 + 具体执行内容:
SELECT CONCAT(event_object_table,’ ‘,trigger_name,’ ‘,action_statement) as sqltext FROM information_schema.TRIGGERS
order by event_object_table

不便集中处理所有触发器;

正文完
 0