[Company Logo Image] 

Home Up Contents Coffee Break Credits Glossary Links Search

 
Running SSIS packages from Command Prompt

 

 

Home
Analysis Services
Azure
CLR Integration
High Availability
Open Source
Security
SQL Server 2008
SQL Server 2012
SQL Server 2014
SQL Server 2016
SQL Server 2017
SQL Server 2019
Tips
Troubleshooting
Tuning

Running SSIS packages from the Command Prompt.


Applies to: Microsoft SQL Server 2012.

 

If you would like to run a SSIS package from Windows Schedule Task, from the Command Prompt or from a batch file, you can use the DTEXEC utility as shown in the image below.

 





We are using the /File parameter of the DTEXEC utility to specify the path and name of a package stored in the file system that we want to run.

Additionally, we are using the /SET parameter to override the value of a variable (filePath) used by the SSIS package we want to run  with DTEXEC.

For more information about DTEXEC, its possible uses and all the parameters that it has available please click here.

 

 

 

.Send mail to webmaster@sqlcoffee.com with questions or comments about this web site.