dbTalk Databases Forums  

Re: Transform data skip duplicate key rows

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Re: Transform data skip duplicate key rows in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Transform data skip duplicate key rows - 07-16-2004 , 05:06 PM






The IGNORE_DUP_KEY will send back a message that the DataPump thinks is
an error.

Personally I would be looking to see how I managed to allow multiple
rows in the source with the same key attribute OR why a key on the
source is not defined the same as in the destination.
I would also be looking at which row in the source for each duplicated
key val is the correct one. Is there a distinguishing
feature/attribute i.e. Date. If there is then I would probably bring
across the rows into a staging table an use TSQL to only pick out the
real rows in which I am interested.


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
www.konesans.com - for all your consultancy needs




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.