I have seen multiple topics about related issues, but no solution yet.
I am using SSIS to load data from a query into a CSV file. When I configure the package and click preview, everything looks fine, but when opening the CSV file, the four separate values are in one column and not in 4 separate columns with headers.
This is my preview in the Flat File destination (which looks fine):
[preview destination]
This is the configuration of the flat file connection:
[configuration flat file connection]
This is the preview from the connection manager:
[connection manager]
But this is how the results looks like:
[result all in 1 column]
Is there anyone who knows how to fix this?
Thanks in advance. Best regards, Mike
If you want to open CSV using excel, use ;
for value/column delimiter instead of ,
for separate value in each column.
And yes, CSV stands for Comma Separated Value, but excel read it as a single value.
I had same issues yesterday...