What is the command to list all triggers in a MySQL database?
相关问题
- sqlyog export query result as csv
- NOT DISTINCT query in mySQL
- MySQL: conduct a basic search
- Why sometimes there is one of more gap(s) in the v
- mySQL alter table on update, current timestamp
I hope following code will give you more information.
This will give you total 22 Columns in MySQL version: 5.5.27 and Above
You can use below to find a particular trigger definition.
or the below to show all the triggers in the database. It will work for MySQL 5.0 and above.
For showing a particular trigger in a particular schema you can try the following:
The command for listing all triggers is:
or you can access the
INFORMATION_SCHEMA
table directly by:TRIGGERS
table is here.