How to change flat file source using foreach loop container in an SSIS package?

前端 未结 2 1063
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-01 06:27

How can i change Flat file path using foreach loop container in SSIS

I\'m having flat file which is under c:\\sourcefile name of the file is \"Flat(Date)\" for e.g F

2条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-01 07:34

    In SSIS you can use 'ForEach Loop' container and set enumerator to file name. For each loop container takes properties where you can provide folder location and file name format and extension.

    With foreach loop container you can process multiple files too based on the file name.

    See the tutorial at the following link. http://www.sql-programmers.com/SQLResources/SQLServerIntegrationServiceSSIS/ForEachLoopContainer.aspx

提交回复
热议问题