Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in
Home       Members    Calendar    Who's On

Add to briefcase

tempdb recreations Expand / Collapse
Posted Thursday, November 1, 2012 1:53 AM


Group: General Forum Members
Last Login: Wednesday, March 26, 2014 5:09 PM
Points: 178, Visits: 579
How do I track all sql server restarts in a domain ?
Ex:Lets says there are 100 servers.\
I would like to maintain a database which stores all the server names,server restart start times based on tempdb recreation times.
Then I would like to create a report of this database.
Is this possible ?
Post #1379655
Posted Friday, November 2, 2012 4:52 AM

SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Thursday, December 18, 2014 1:37 AM
Points: 998, Visits: 3,089
SELECT  @@SERVERNAME, login_time
FROM sys.dm_exec_sessions
WHERE session_id = 1;

The SQL Guy @ blogspot


About Me
Post #1380274
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse