Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run a local dtsx package within SQL Server Management Studio?

Tags:

ssms

ssis

I have created a .dtsx file with the import wizard of SSMS and stored the file in the local file system. I can open this file with SSMS and get its XML content displayed in the Object Explorer.

Now I want to run this file with SSMS. I have tried the right mouse button and searched all available menu items, but could not find a command for executing the .dtsx file.

like image 517
Manu Avatar asked Aug 09 '17 07:08

Manu


2 Answers

Double-clicking a .dtsx file should launch the DTExec GUI.

enter image description here

If you want to run in SSMS, then you will need to use a SQL Server Agent job.

enter image description here

enter image description here

If you see yourself developing and running many packages, use the SSISDB Catalog to store, manage, and execute packages.

like image 165
Troy Witthoeft Avatar answered Jan 03 '23 00:01

Troy Witthoeft


Updated answer (I suppose this is windows only):

  • If you have visual studio, go to extensions, search for "Sql Server Integration Services Projects." That will just direct you to a download.
  • In any case, install the above mentioned... thing. It's fat, but painless (no options to worry about).
  • That will add dtexec to your path.
  • dtexec /f "YourPackage.dtsx"
like image 44
dudeNumber4 Avatar answered Jan 03 '23 01:01

dudeNumber4