I have a SSIS Package that is very basic. Exports data from a SQL Server 2008 table into a txt file (Comma Delimited). The end customer wants the fields with a Text Qualifier (") but when the value is Null does not want the text qualifier. Unfortunately sometimes the fields have a value and other times they are null. Is there a way to only include text qualifier when there is a true value in the field?
Current export looks something like this:
"Reference", "Key", "Name", "Custom1"
"","123456","John Doe", "9515551212"
"","654321","Jane Doe",""
Preferred Output:
"Reference", "Key", "Name", "Custom1"
,"123456","John Doe", "9515551212"
,"654321","Jane Doe",
On the Reference field, it is always null. So I attempted to make Text Qualifier "False" on this field, but unbelievably they want even the Column Headers to be Text Qualified.