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: 2 days ago @ 2:32 AM
Points: 190, Visits: 660
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: Monday, March 16, 2015 9:07 AM
Points: 1,066, Visits: 3,181
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