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

How to remove row delimiter from the last row?

$
0
0

I am generating a file with only one column and having as row delimiter {CR}{LF}.
The file is supposed to have only 2  rows (different length) and is intended to serve as input of a third party application.

The problem is that the application is expecting something like this:
line1datatatatatatatatatata{CR}{LF}
line2datatata

and SSIS packege is generating:
line1datatatatatatatatatata{CR}{LF}
line2datatata{CR}{LF}
causing the application to reject the file.

When I edit the file and manually remove the line delimiters {CR}{LF} the from the second row, the application consumes the file without any issues.

So, the question is: How do I do it autommatically?

Thanks


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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