Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

How to remove blank row from end of flat file?

$
0
0

I have the same problem encountered in this question (

https://community.spiceworks.com/topic/2130093-ssis-package-flat-file-destination-blank-row-at-end-of-file) except unlike the OP that was able to throw the problem back to their customer, I must actually solve it.

Here is a snip of the OP's original question:

The original question is how to get rid of the extra return carriage line created when generating a flatfile in SSIS. THe best answer chosen (from: Gerard Mainardi)is a great answer for small files (15MB file took 3 mins), but the performance is awful for a large 600MB file (our file took 4 hours before killing it), which is exactly what I produce for my vendor. I have been manually deleting that last line ever since the vendor statedthe extra linecaused ingestion issues into their system.

Would someone be able to help me...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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