executing a batch command through SSIS Job

后端 未结 2 915
长发绾君心
长发绾君心 2021-01-04 10:31

I need to execute an batch file through SSIS job. previously we used to do this in cmd prompt, is there any way that we can run batch file through ssis job

2条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-04 10:54

    Use an Execute Process Task in your Control Flow to do this.

    • Create a new package in SSIS
    • You will start with the Control Flow open
    • Drag an Execute Process Task from the Toolbox (if the Toolbox is not open, open it with Menu -> View -> Toolbox) to the Control Flow
    • You can set the batch file path in RightMouseButton on the Task -> Edit... -> Process -> Executable

    For further instructions on SSIS go to e.g. Microsoft

提交回复
热议问题