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

SSIS - True Lovers

$
0
0

Hello Experts,

I have one text file which content the following detail

Col1        | Col2|    Col3|     Col4|     Col5   --> with | delimiter
0000005|  01|          1|        OBG|    OBG
0000005|  01          |2|        GP|      GP
0000106|  01|          1|        IM|       IM
0000107|  01|1|GM|GM
0000107|  01|1|SN|SN
0000107|  01|1|FM|FM
0000108|  01|1|GP|GP
0000108|  01|2|GS|GS
0000109|  01|1|FM|FM
0000111|  01|1|P|P

0000112|  01|1|D|D

So here I want the output same as  col1, Col2, Col3, But I have to Merge the Col4 Rows by delimiter ,which Highlighted mention below. 
Col1        | Col2    |Col3|     Col4
0000005|     01|       1|     OBG,GP
0000106|     01|       1|      IM
0000107|  01|1|GM,SN,FM
0000108|  01|1|GP
0000109|  01|1|FM
0000111|  01|1|P

0000112|  01|1|D

Please Explain your answares briefly...I am the new to SSIS.

Appreciated your Help.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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