“Update a Trigger” after an alter table command MYSQL
-
12-12-2019 - |
Pergunta
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?
Solução
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.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow