dbTalk Databases Forums  

SSIS handling constraints at the SQL Server Destination module

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


Discuss SSIS handling constraints at the SQL Server Destination module in the microsoft.public.sqlserver.dts forum.



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

Default SSIS handling constraints at the SQL Server Destination module - 11-15-2005 , 07:23 PM






Hello,

I am using SSIS to import flat files data into SQL Server 2005.
At the last stage of the pipeline - the SQL Server Destination module, if
the currently inserted record key already exists, primary key costraint
occurs and the *whole data import is rolled back*.

Is there a way to tell SQL Server Destination module that only the
constraint violating record should be rejected and not to force a complete
role back of the entire row set?

A similar situation with foreign key constraint, forced me to rum a lookup
transformation step before reaching the destination, in order to avoid a
foreign key violation situation.

Thanks
Amnon



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.