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

combine text files using SSIS

$
0
0

I have 5 text files with name 1.txt, 2.txt, 3.txt, 4.txt and 5.txt.

1.txt contains

abc

def

2.txt contains

ghi

jkl

and so on

I m looking for one output file with all these files combined so my output looks like

/*************Start of Page 1************************/

abc

def

/************end of page 1*************************/

/*************Start of Page 2************************/

ghi

jkl

/************end of page 2*************************/

so on till end of page 5.

How do we achieve this using SSIS .

any help much appreciated.

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>