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

Split record over multiple lines in text file

$
0
0

We want to export a table to a text file. For each row in the table we extract select fields and write them out across several lines in the text file.  Example:

Table row:  First Name, Last Name, Address1,.....

Sample textfile:

First Name, Last Name,

Address1

Addres2,

City, State

ZIP

I plan to create a new column containing a single string created with each of the necessary fields interspersed with carriage return\linefeeds as appropriate. I bet it will work but does SSIS offer a better approach to create this multi-line file?

TIA,

edm2


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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