How to schedule a SSIS package job in SQL sheduler or Windows scheduler?

前端 未结 3 383
隐瞒了意图╮
隐瞒了意图╮ 2020-12-19 04:02

I have created a (SSIS) package which contains SQL procedures for transfer of data from tables. It is in .dtsx format as per SSIS package. Now how to add this to a schedular

3条回答
  •  余生分开走
    2020-12-19 04:49

    You can run your SSIS package using dtexec command like from dos command prompt

    dtexec /f %PackagePath%\%PackageName% /conf %PackagePath%\%ConfigName%
    

    you just add this command to a batch file (.bat) and have that scheduled in your scheduler.

    Check this link on DTEXEC utility

    http://msdn.microsoft.com/en-us/library/ms162810.aspx

    Hope this helps.

提交回复
热议问题