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

CSV destination with no headers

$
0
0

Hello:

It is possible to export to CSV with headers or with no headers, but my problem is a bit different..

My customer wants a CSV file where most of the headers are blank, but some aren't. The data, coming from a SQL Server query source, will have many zero values, and the corresponding headers for the zero values will be blank. There are many columns with zero values, so I wanted to ask before I went to trial and error.  Problem is you can't use a source query will blank headers or with headers that are the same. So since the source query won't let me do this I imagine if it is possible at all I would have to use some transform to change the header values to blank and then send to CSV. The CSV result should look like this

1stHeader,2ndHeader,,,5thHeader

3221,322,0,0,2

Thanks for any help,

Blair


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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