--
Tom
----------------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCT
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
www.apress.com
---
Hi,
I have written a triger on a base table that inserts changed and inserted
rows from the base table into a history table. It works fine when I insert
or update records from QA or directly in the base table.
But, when I create and run a DTS package that inserts rows into the base
table, the TRIGGER DOESN'T FIRE!
Please give me any suggestions how is this possible and how to prevent it.
Regards, Tanja
> --
> Tom
> ----------------------------------------------------------
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCT
> Columnist, SQL Server Professional
> Toronto, ON Canada
> www.pinnaclepublishing.com/sql
> www.apress.com
> ---
> Hi,
> I have written a triger on a base table that inserts changed and inserted
> rows from the base table into a history table. It works fine when I insert
> or update records from QA or directly in the base table.
> But, when I create and run a DTS package that inserts rows into the base
> table, the TRIGGER DOESN'T FIRE!
> Please give me any suggestions how is this possible and how to prevent it.
> Regards, Tanja
--
Tom
----------------------------------------------------------
Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCT
Columnist, SQL Server Professional
Toronto, ON Canada
www.pinnaclepublishing.com/sql
www.apress.com
---
Thanks for the respond, but is it possible to make the triger fire no matter
of the method used to insert the data. I am the owner of the table and the
trigger and I need to define the behaviour of the trigger in any case. The
other users may create and execute the DTS packages or use other mathodes of
insertion. Therefore I can not control the other users and for the sake of
consistency and security I need the trigger to fire independantly of the
method used for insertion.
Please give me some further suggestions!
Regards,Tanja
> --
> Tom
> ----------------------------------------------------------
> Thomas A. Moreau, BSc, PhD, MCSE, MCDBA, MCT
> Columnist, SQL Server Professional
> Toronto, ON Canada
> www.pinnaclepublishing.com/sql
> www.apress.com
> ---
> Hi,
> I have written a triger on a base table that inserts changed and inserted
> rows from the base table into a history table. It works fine when I insert
> or update records from QA or directly in the base table.
> But, when I create and run a DTS package that inserts rows into the base
> table, the TRIGGER DOESN'T FIRE!
> Please give me any suggestions how is this possible and how to prevent it.
> Regards, Tanja
1. trigger does not fire when inserting via DTS
Hi,
I have written a triger on a base table that inserts changed and inserted
rows from the base table into a history table. It works fine when I insert
or update records from QA or directly in the base table.
But, when I create and run a DTS package that inserts rows into the base
table, the TRIGGER DOESN'T FIRE!
Please give me any suggestions how is this possible and how to prevent it.
Regards, Tanja
3. Trigger not firing via DTS (slightly educated Newbie - LOL)
5. SQL Server 2000 bug: DTS import does not fire insert trigger
6. Importing IBM Personal Assistant filing files (?)
7. bulk insert not firing insert triggers
9. trigger do not fire when doing bulk update
10. Trigger trouble - fired via DTS
11. SQL7, DTS, Insert Trigger won't fire
12. Triggers do not fire on Insert Into ....
13. bulk insert triggers not fired for update