1

I am able to get CPU time and elapsed time by using Statistics Time On in stored procedure in SQL, but the output is coming in messages window. How to fetch CPU time and elapsed time in the query so that i can save it in database?

OK Fine. I have got an answer and that is the use of : sys.dm_exec_query_stats

but how to use above mention query ? It is not returning the CPU and elapsed time.

waleedansari
  • 197
  • 1
  • 2
  • 16

0 Answers0