process the new files only

后端 未结 3 1885
谎友^
谎友^ 2021-01-27 15:03

I have a source from which the files are to be processed. Multiple files are coming to that loacation at any time randomly (Package should run every 2 hours). I have to process

3条回答
  •  粉色の甜心
    2021-01-27 15:56

    To start, take a look at the answer here: Enumerate files in a folder using SSIS Script Task

    The SSIS Script Task should enumerate all the files in a given folder, then take a snapshot of the already processed files from a table where you will keep a log of what's processed, ignore the already processed ones and just return the non-processed in an object variable for a for-each task to consume.

提交回复
热议问题