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 01, 2012 1:53 AM
SSC-Enthusiastic

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

Group: General Forum Members
Last Login: Friday, February 01, 2013 12:42 PM
Points: 139, Visits: 447
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 02, 2012 4:52 AM


Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Today @ 1:56 AM
Points: 350, Visits: 1,339
SELECT  @@SERVERNAME, login_time
FROM sys.dm_exec_sessions
WHERE session_id = 1;



http://thesqlguy.blogspot.com/
Post #1380274
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse