MySQL trigger trigger

Yesterday made a project can not delete the return erp.users mistake on deletion of the service. Only to find after checking the cause of the trigger. This table is bound to delete a trigger, trigger copy function is when I delete a record when the record will be removed to a users table. The problem is that this data difficulties forgot to build users table. Trigger and action combines itself is a transaction, so the trigger does not exist because users can not be assigned to users in the record. Therefore, do not delete operation, will be given.

https://www.cnblogs.com/CraryPrimitiveMan/p/4206942.html
https://www.cnblogs.com/geaozhang/p/6819648.html

Guess you like

Origin www.cnblogs.com/macht/p/11694921.html
Recommended