Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

How to Get Peformance Counters Programmatically for One Dynamic SQL Statement

$
0
0

I need an SP that I can pass 1 valid SQL statement for dynamic execution which also returns performance counters (e.g., cpu time, elapsed time, memory usage, reads, logical reads, writes, etc.) similar to what is in DMVs like dm_exec_sessions and


Viewing all articles
Browse latest Browse all 3145

Trending Articles