3月 062017
 

1. 查看已创建的触发器
SELECT * FROM information_schema.TRIGGERS;
也可以使用
show triggers;

查询名字为my_trigger的触发器:
select * from information_schema.triggers where TRIGGER_NAME=’my_trigger’;

2. 删除已创建的触发器
drop trigger my_trigger;

打赏
 Posted by on 2017-03-06