Reputation: 125
I am loading data from Excel Source to SQL Server destination. And it is working fine. The problem is the empty rows are also inserting into the database.
Can you help please. Thanks
Upvotes: 1
Views: 191
Reputation: 13975
You could try introducing a Script Component into your data flow task. Although they're based on the idea of "read a record, process it, write it", I believe you have the option of NOT writing out a particular record. You could filter based on whether the row from Excel has content, or not.
Upvotes: 1
Reputation: 3179
Check the step 7 of article he has used conditional splits you can use something like that.
Upvotes: 1