The trigger fires after each INSERT .
If you have 4 INSERT statements, each of 1 line, the trigger will be run 4 times with 1 entry in the special inserted table after each insertion.
If you have 1 INSERT of 4 lines, the trigger will be run only once with 4 entries in the special inserted table after insertion.
If these are transactional inserts, the actions you perform in the trigger will also be transactional. This is very important if the trigger has an internal transaction.
Daniel Hermosel
source share