It's possible, even if I wonder what's good for.
You find the tool in
C:\Program Files (x86)\Microsoft SQL Server\ <VersionNo> \Tools\Binn => DTASHELL.exe
Change <VersionNo> to the version you use, e.g. 120
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I need to tuning a t-sql query by the DTA tool operating directly inside it without using the SSMS, where selecting first the query and then the DTA.
Is it possible, and how? thanks
It's possible, even if I wonder what's good for.
You find the tool in
C:\Program Files (x86)\Microsoft SQL Server\ <VersionNo> \Tools\Binn => DTASHELL.exe
Change <VersionNo> to the version you use, e.g. 120
Hi, thanks for your reply.
I try to explain better the question.
Usually, inside a query window opened in SSMS I specify the query to tune, select it and then with the mouse right-click call the DTA tool, that shows the Query option as a workload.
In a SQL installation, for an error I cannot accomplish the described action and so I neee to specify the query to tune inside the DTA tool, if possible of course.
Thanks
Ok, I've noticed that the query code isn't saved inside the selected script file.
Thanks
Hi Olaf,
inside the DTA I've tried to select a file as a workload, but the query code in this file wasn't saved (likely to a my inadvertence).
Ok?
Hi pmscorca-6887,
In addition, DTA is inbuilt tool which comes with SSMS.
You can download and install SSMS 18.x to launch the DTA from SSMS. You also can launch it from \Program Files (x86)\Microsoft SQL Server Management Studio 18\Common7\DTASHELL.EXE if you find your workload file.
Best Regards,
Amelia
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.