![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
I have a series of DTS packages that execute on a scheduled requency. The various jobs import data from multiple data sources. In case the scheduled job should not execute for any given day, the query that gathers information ready for importing into SQL always gathers the last three days worth of data. There is a unique index on the table receiving data that is set to ignore duplicates. All though the message is a warning from SQL server, it still fails the DTS job. Is there anyway that I can get the DTS jobs to ignore the message if it is duplicate key ignores and complete the step successfully? |
#4
| |||
| |||
|
|
If I were doing this, I would try to minimize duplicates at the source by using DISTINCT in the source query. Or possibly transfer the data into a pending table then weeding out unwanted items before the final INSERT. Any other ideas? Thomas Bradshaw MyWebGrocer.com Data Integration Services |
![]() |
| Thread Tools | |
| Display Modes | |
| |