Validate data before uploading through SSIS
Posted
by The King
on Stack Overflow
See other posts from Stack Overflow
or by The King
Published on 2010-05-26T10:44:37Z
Indexed on
2010/05/26
11:51 UTC
Read the original article
Hit count: 231
I have a SSIS package to upload data from Excel file into an Sql Server 2005 table.
The excel file will have varied lines of data ranging from 20k - 30k lines.
The upload works fine, when all the data are correct. But obviously fails when there is a small problem even in a single row. Examples like mandatory values presented null, inconvertable values (data type mismatch) etc.
I want to validate the excel file before the upload and want to tell the user which row and column has got the error...
Any idea as to how to accomplish this, without consuming much time and resources.
Thanks
© Stack Overflow or respective owner