Quantcast
Channel: SQL Server
Viewing all articles
Browse latest Browse all 3819

Blog Post: Two Simple Ways to Find Last SQL Server Restart

$
0
0
The first command below will tell you the last time the SQL Server service was started. The second will tell you the last time the server itself was restarted. -- Format will be: 2013-01-19 14:13:53.243 select sqlserver_start_time from sys.dm_os_sys_info -- Look for the row like: Statistics since 1/18/2013 12:27:01 PM exec xp_cmdshell 'net statistics server'

Viewing all articles
Browse latest Browse all 3819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>