I need to create insert and delete trigger, both will do the same.Can I create this in one trigger?Or do I need two separate ones? I looked around and everyone seems to have one for deletion and another for insertion.
MySql does not allow multiple events on the same trigger.
One option is to put your code in a procedure and each trigger will call the same procedure - pass as much information as possible about the old / new line to proc.
Source: https://habr.com/ru/post/1788463/More articles:MySql: how can I implement some read / not read yet topics? - mysqlHTML, accessibilty: is it possible to tag two controls with the same label? - htmlPHP Expiration - phpTwitter API: how to find out which application was used for - twitterPython - convert to ? - pythonС#: есть ли способ сделать создание геттеров и сеттеров автоматическим? - c#Andengine in an Android application - androidResolving the residual path problem - javaЯ использую аутентификацию пользователя Django с помощью PHP. Будет ли эта схема аутентификации на основе файлов cookie безопасной? - pythonone type of memory leak - iosAll Articles