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-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

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: Today @ 8:15 AM
Points: 826, Visits: 2,664
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