Question: Is it possible to use SQL Server Database Tuning Advisor through the command line? Answer: On a server with SQL Server installed you can start the SQL Server Database Tuning Advisor In the command line type "dta".That will return something like : Microsoft (R) SQL Server Microsoft SQL Server Database Engine Tuning Advisor command line utility Version 14.0.800.90 ((SQL_Main).170711-1339) Copyright (c) 2015 Microsoft. All rights reserved. Additionally - you can use : dta -? and that will give you extra usage details along with descriptions per switch Usage: DTA.EXE [-S ServerName[\Instance]] [-U LoginId] [-P Password] [-E] [-d DatabaseName] [-D... Read more →