I using script component for validating data more 50 columns. But it take more time. Any body give solution for this validation without third party tool in ssis.
For example :
I have validate dob column in following points
- Date format is correct or not.This my expecting format(mm/dd/yyyy).
- DOB not equal to empty.
- DOB value not greater than (12/31/9999).
- DOB value also check is date or not.
If you have doubts about the fields in your excel file, you can import the data to a Staging Table, create the table with all the fields as varchar and insert the data from the file there, when the data is loaded you can work with an sql validation or with ssis components to verify the data, you should test which is faster.
Edit 1:
After this you can create functions to validate each field like:
I hope this helps.