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

How to eliminate last row from the flat file source

$
0
0

Hi,

This time i have a question that is based on SSIS DFT

I have a textfile that having data like

col1,col2,col3,col4

1,2,3,4

2,3,45,

C,3

where last row, C,3 is data about data info, i.e. showing number of rows in a file including column row.

My requirement is, i have to laod the data from text file to SQL table but i dont want to load last row, in above case, i dont want to load C,3 row into sql table.

Please let me know how to do this when source is text file, i cant apply query to that.


Amit
Please mark as answer if helpful
http://fascinatingsql.wordpress.com/


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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