Determining SQL Server Up Time or Last Time Rebooted

  • We are running SQL Server 2000 SP4 on Windows 2003 Server. Is there a Windows DOS Command which determines the uptime of the machine or the last time the machine was rebooted? Or, is there an SQL Extended Stored Procedure that would return this information?

    Thanks in advance, Kevin

  • net statistics server

    or

    systeminfo

    -Roy

  • SELECT create_date FROM sys.databases

    WHERE NAME = 'TEMPDB'

    EDIT: Sorry this will return the last time the SQL service was started.

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

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