tempdb recreations

  • 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 ?

  • SELECT @@SERVERNAME, login_time

    FROM sys.dm_exec_sessions

    WHEREsession_id = 1;

    The SQL Guy @ blogspot[/url]

    @SeanPearceSQL

    About Me[/url]

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply