Why aren't my triggers firing during an insert by SSIS?

前端 未结 3 1841
抹茶落季
抹茶落季 2020-12-29 04:26

I have an SSIS data flow task with an OLE DB Destination component that inserts records into a table with a trigger. When I execute a normal INSERT statement a

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-29 04:32

    complementing ladenedge's answer.

    Because the OLE DB Destination task uses a bulk insert, triggers are not fired by default

    that is true when you have the "fast load" option selected.

    enter image description here

    If you change it to a regular "table or view" data access mode, your triggers should fire normally because the insert is done row-by-row

提交回复
热议问题