Home Forums Article Discussions Article Discussions by Author Discuss content posted by Lars Søe Mikkelsen How long has passed since SQL Server service started? RE: How long has passed since SQL Server service started?
Marco
Default port
Points: 1408
More actions
February 4, 2010 at 2:15 am
#1113553
Lars,
you can also retrieve the start time from this Dynamic Management View
SELECT sqlserver_start_time FROM sys.dm_os_sys_info
(Requires VIEW SERVER STATE permission on the server)