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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

javascript - Bootstrap Popover: iOS Safari strange behaviour -

spring cloud - How to configure SpringCloud Eureka instance to point to https on non standard port -