![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
The DTS service fetch 3 rows from a CSV file and insert to the tblTemp table. and in tblTemp there is a trigger which performs insert them to the tblMain. when I insert a row direct to the tblTemp the trigger works ok. but unfortunately when the DTS works the trigger is not working. This process(DTS->tblTemp->tblMain) is due to some reasons. for example, PK constraints. Are there something that I missing? TIA. |
#3
| |||
| |||
|
|
Take off "fast load" on the last page of the datapump setup. Your trigger should fire now. -- -- Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "haode" <iamjhkang (AT) abc (DOT) com> wrote in message news:%23QBJVIgyDHA.1804 (AT) TK2MSFTNGP09 (DOT) phx.gbl... The DTS service fetch 3 rows from a CSV file and insert to the tblTemp table. and in tblTemp there is a trigger which performs insert them to the tblMain. when I insert a row direct to the tblTemp the trigger works ok. but unfortunately when the DTS works the trigger is not working. This process(DTS->tblTemp->tblMain) is due to some reasons. for example, PK constraints. Are there something that I missing? TIA. |
#4
| |||
| |||
|
|
Thanks. It did work. BTW, is it suposed to be slow then? "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:ejSJkOgyDHA.2556 (AT) TK2MSFTNGP10 (DOT) phx.gbl... Take off "fast load" on the last page of the datapump setup. Your trigger should fire now. -- -- Allan Mitchell (Microsoft SQL Server MVP) MCSE,MCDBA www.SQLDTS.com I support PASS - the definitive, global community for SQL Server professionals - http://www.sqlpass.org "haode" <iamjhkang (AT) abc (DOT) com> wrote in message news:%23QBJVIgyDHA.1804 (AT) TK2MSFTNGP09 (DOT) phx.gbl... The DTS service fetch 3 rows from a CSV file and insert to the tblTemp table. and in tblTemp there is a trigger which performs insert them to the tblMain. when I insert a row direct to the tblTemp the trigger works ok. but unfortunately when the DTS works the trigger is not working. This process(DTS->tblTemp->tblMain) is due to some reasons. for example, PK constraints. Are there something that I missing? TIA. |
![]() |
| Thread Tools | |
| Display Modes | |
| |