I would like to know if it’s possible in MYSQL to “update a trigger” (drop and recreate), after an alter table command?
If yes, how can I do this?
I would like to know if it’s possible in MYSQL to update a trigger
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Nope, not automatically. You’ll just have to do it manually. Unfortunately, the information_schema.TRIGGERS table also doesn’t have any creation/alteration datetime, so you can’t even write a SQL script that identifies which triggers you might need to recreate.