Good morning, all -
I have a flat file that is data only, no headers. The header names come from an extant table into which the data from the flat file will be inserted.
I can always map the raw column names - column 0, column 1, column 2, etc. - to the named headers, but I like the column names in the Connection Manager to match the destination. So, I use the Advanced tab in the Flat File Connection Manager to rename all the columns appropriately. But, there're a lot of names and it's tedious to hand-type them in - or, even, to use Copy and Paste the column names from the SQLCREATE TABLE query that was used to make the destination table. I've got 49 columns to name and, some time back, I had a Flat File with over 100 columns that had to be manually named.
There must be an easier way to enter these column names in the Advanced tab of the Editor than doing it manually.
Any ideas?