Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get all the triggers linked to a specific table?

I'm searching for a way to retrieve all the triggers where there is an action linked to a specific table. I don't want to read manually all the triggers I have on the server as there are too many.

Any ideas?

like image 298
tamizboule Avatar asked Sep 21 '25 07:09

tamizboule


1 Answers

SELECT * FROM USER_TRIGGERS WHERE TABLE_NAME = 'NAME_OF_YOUR_TABLE';
like image 117
UltraCommit Avatar answered Sep 23 '25 12:09

UltraCommit