What is the best KIND OF
File Connection Manager (To connect from destination task within Data Flow) to use to output result of sql statement to .CSV file?
Also, can leading zeros from int or char(n) columns be preserved in the output .CSV files?
(without using any single or double quotes to encase the string like 0053. (it turns to 53) 🙁
)
Define what you mean by 'best', please. Also, I can only think of one File Connection Manager that can output to a CSV file, and that is the Flat File Connection. What else do you have in mind?
int columns do not have leading zeros.
char columns can be output as char columns and their contents should be unchanged.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel