sql - How to save query statistics time in database? -
i able cpu time , elapsed time using statistics time on in stored procedure in sql, output coming in messages window. how fetch cpu time , elapsed time in query can save in database?
ok fine. have got answer , use of : sys.dm_exec_query_stats
but how use above mention query ? not returning cpu , elapsed time.
Comments
Post a Comment