i cannot able to disable a trigger
DISABLE TRIGGER mytable_upd_trg ON leads
The error which i received
DISABLE TRIGGER mytable_upd_trg ON leads
MySQL said: Documentation
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use
near 'DISABLE TRIGGER mytable_upd_trg ON leads' at line 1
You can't temporarily disable triggers. You can remove triggers permanently with DROP TRIGGER ...
您只需在触发器中创建变量和IF子句即可将其禁用。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.