SSIS - Polling Files Folder and Trigger ETL Packages

后端 未结 3 1395
走了就别回头了
走了就别回头了 2021-01-25 16:39

Need advice, see below scenario

We have developed 1 ETL Package which can process 5 files at one time (which usually takes 1 mins). We expect that nearly 100+ files can

3条回答
  •  粉色の甜心
    2021-01-25 17:08

    You have 2 options:

    1. Set up a folder watcher that should call the package from commend line like MyTrigger download it from CNET.
    2. As you say u want SQL Agent to execute it, the other option which is probably more efficient, is to set up a File Table and create a trigger on the table for insert, that should execute the agent job with the sp_start_job system stored procedure.

提交回复
热议问题