How to Run an SSIS Package as a Job Step in SQL Server Agent
Your SQL script for creating a SQL Server Agent job to run an SSIS package appears correct. However, the error you mentioned regarding incorrect syntax near '/' suggests a potential issue in the command used for executing the package.
Correct Syntax for Executing an SSIS Package in a Job
The proper syntax for executing an SSIS package as a job step is:
/file "<package_path>"
where:
Alternative Option: Using the Graphical User Interface
If you encounter any further issues, you can alternatively create the job using the graphical user interface in SQL Server Management Studio. Here are the steps:
In the New Job Step dialog, configure the following:
Additional Notes
The above is the detailed content of How to Correctly Execute an SSIS Package as a SQL Server Agent Job Step?. For more information, please follow other related articles on the PHP Chinese website!