In MS SQL Server 2008, I would like to investigate and tune the queries that are being executed by an application in a limited time interval. Can I, e.g. from SQL Server Management Studio, generate a log of all SQL being executed and how long time each query took (and which parameters they were executed with)?
Share
You can use Profiler for this purpose – from SSMS, go to Tools -> SQL Server Profiler.