![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Hi, I am sure this is an often-asked question, but I couldn't find any appropriate answers by searching this newsgroup. I have a dts script that grabs sql data (first name, last name, email address, html/text) from one server and writes it to a text file. Then a second server imports that textfile. Some of the email addresses (10%) are duplicates and I want to get rid of them. I thought I had it working ok in dts by setting the second server email field to unique/primary key... but the problem is that the maximum errors I can allow for in dts appears to be 9999 and I have 12000 duplicates. So the import fails, as each row import that fails (because the key already exists) counts as an error. Any workarounds? Better ways to do it? Thanks for the advice! Geoff Baker |
![]() |
| Thread Tools | |
| Display Modes | |
| |