To view "recent expensive queries" I use Activity Monitor. Some of the queries there are with parameters.
Is there a way to know the values?
activity-monitorsql serversql-server-2008-r2
To view "recent expensive queries" I use Activity Monitor. Some of the queries there are with parameters.
Is there a way to know the values?
Best Answer
No, not directly from the Activity Monitor.
You would need to capture those details either using a server-side trace, or using Extended Events.
See the details on this question and the answers for details about how to create a trace to collect that data.