How to add new columns to Flat File conn in SSIS without resetting data types for existing cols

StackOverflow https://stackoverflow.com/questions/8050961

  •  24-02-2021
  •  | 
  •  

SSIS 2005

I have a flat file connection which is the result of a db dump.

New columns have been added to the file and now they need to be added to the connection manager.

There are a lot of columns and not all of them have the default dataypes

How can I make it see the additional columns without doing a full refresh, thereby causing all the datatypes to reset?

有帮助吗?

解决方案

Open the flat file connection manager and go to the Advanced tab.

If the new columns are appended to the end of the flat file, click New. Otherwise highlight the existing column name positioned before the new column, click the double down arrow next to the New button, and select Insert After.

Once the new column is added, you can select it and modify the properties of the column (IE Name, Datatype, Length).

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top