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