Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SSIS and Import/Export (2005)
 Input issue

Author  Topic 

lemondash
Posting Yak Master

159 Posts

Posted - 2008-10-28 : 12:26:21
I'm creating a ssis package that inputs a .csv file in to a table in sql, the issues that i may have is that there may be duplicates or the fogien key may throw out a error on the input. Is there a simple way around this so that i can put the error rows in to a error table and the rest of the rows get inputted.

any help would be creat

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-10-28 : 12:30:15
Yup. you can use a lookup task to lookup your column values against source table column values (to whom foreign key links) and use redirect row option on failure to populate the error table.
Go to Top of Page
   

- Advertisement -