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)?
Asked
Active
Viewed 198 times
2 Answers
3
You can use Profiler for this purpose - from SSMS, go to Tools -> SQL Server Profiler.

Blorgbeard
- 101,031
- 48
- 228
- 272