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
Author
Message
Posted Thursday, November 1, 2012 1:53 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, July 1, 2015 4:04 AM
Points: 218, Visits: 804
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


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 2:12 AM
Points: 1,066, Visits: 3,225
SELECT  @@SERVERNAME, login_time
FROM sys.dm_exec_sessions
WHERE session_id = 1;





The SQL Guy @ blogspot

@SeanPearceSQL

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

Add to briefcase

Permissions Expand / Collapse