how to activate trigger after all the bulk insert(s) in mysql
Posted
by JPro
on Stack Overflow
See other posts from Stack Overflow
or by JPro
Published on 2010-03-01T13:40:22Z
Indexed on
2010/03/23
22:43 UTC
Read the original article
Hit count: 175
I am using mysql and there are bulk inserts that goes on to my table.
My doubt is if I create a trigger specifying after insert
, then the trigger will get activated for every insert after
, which I do not want to happen.
Is there any way to activate a trigger after all the bulk inserts are completed?
Any advice?
Thanks.
© Stack Overflow or respective owner