- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
In which order MySQL will invoke the triggers if we created multiple triggers of same event and action time?
In this case, MySQL will invoke the triggers in the order in which they are created. But with the help of following options, we can change the order −
FOLLOWS option
This option allows the new trigger to activate after the existing trigger.
Syntax
FOR EACH ROW FOLLOWS trigger_name
PRECEDES option
This option allows the new trigger to activate before the existing trigger.
Syntax
FOR EACH ROW PRECEDES trigger_name
Advertisements
To Continue Learning Please Login
Login with Google