I am getting the output in flat file as shown below.
How do I avoid column n
If you already have header in the file - you can simply skip the first row. See screenshot from @user756519 answer.
Set Header rows to skip
to 1
The best way that I've found to accomplish this is the following:
Now your output flat file will contain data only...no column header row. Yet you can still go to the Flat File Destination item and see the actual column header names being used there.
Double-click the Flat File Connection Manager to open the Flat File Connection Manager Editor
On the Flat File Connection Manager Editor, uncheck the box Column names in the first data row
.
This will prevent flat file connection manager from writing the column names to the flat file output.