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

前端 未结 3 354
隐瞒了意图╮
隐瞒了意图╮ 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:41

    You may also schedule your SSIS package using the following files:

    "C:\Program Files\Microsoft SQL Server\120\DTS\Binn\DTExec.exe" /f   
    "D:\Package.dtsx"
    
    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-19 04:53

    An other solution is to schedule the packages through SQL Server agent and creating a job so that you can scedule it once in 3 months.

    0 讨论(0)
提交回复
热议问题