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

Insert Comma Separated value to CSV in SSIS.

$
0
0

Hi,

I have a Dataset, derived from SQL server table. One of the column has Comma separated values. We need to generate a CSV file out of the given data set.

Problem Statement:

While we try to generate the CSV output, the column having "comma separated value" gets split into different columns.

For Example

Sample Dataset

=========
Id  |   Address |
=========
1   | A            |
=========
2   | B,C         |
=========
3   | D,E,F     |
=========

I need the Address column to flow in to the csv as it is (Address Column in CSV should have the exact values as in the sql table).For eg. for record 3 the Address Column in Address should "D,E,F ".


Thanks,

Sidd


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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