uptime

MSSQL v1 SELECT create_date AS StartTime FROM sys.databases WHERE name = 'tempdb'; MSSQL v2 EXEC xp_readerrorlog;