Quantcast
Channel: Answers for "executing time of a specified query"
Browsing latest articles
Browse All 6 View Live

Answer by Magnus Ahlkvist

Isn't this the same question you already asked? [http://ask.sqlservercentral.com/questions/77734/total-time-in-executing-a-query][1] [1]:...

View Article



Answer by Håkan Winther

There are several ways to get the time -Profiler -set statistics time on -select * from sys.dm_exec_query_stats

View Article

Answer by champ

SELECT sql_total_elapsed_time_s=convert(money,qs.total_elapsed_time)/1000000,text FROM sys.dm_exec_query_stats as qs CROSS APPLY sys.dm_exec_sql_text(sql_handle)

View Article
Browsing latest articles
Browse All 6 View Live




Latest Images