I am creating an SSIS package to query a database and extract the results to a csv file. I'm using Visual Studio 2019. I have set "Header rows to skip:" to 0 - 4. I did the same with data rows in the Preview tab, and nothing changes. I do not see anything the Properties to remove the header. I also tried this link, and it did not help. SSIS Flat File Destination Column Headers. Unchecking the box on this screen immediately gives me this error.
Severity Code Description Project File Line Suppression State Error Validation error. Data Flow Task Flat File Destination [2]: The number of input columns for Flat File Destination. Inputs[Flat File Destination Input] cannot be zero.
What else is there?
The answer is to set header rows to skip to 0 and uncheck the column names in the first data row. To get this to create a file manager with the column headings, I used the following steps: