Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Invalid data in flat File

$
0
0

Hello,

I usually import data from flat files to sql server tables. Now that the Flat files comming may have a row having only the column delimitters which is invalid for me.How to overcome this problem in SSIS such that i insert data having a value in atleast one column.

Ex:

Data coming in flat file as shown

Header : Colum0| Column1|column2|Column3|Column4............. <valid>

DataRows :

A|B|C|D|E............<valid>

A||C|D|E..........<valid>

|||D|E.......<valid>

||||......... <invalid>

||||......... <invalid>

||||......... <invalid>

How to avoid these data having only delimitters in flat file.Please advice

Thanks,

Santhosh


Please have look on the comment


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>