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?
Lars Søe Mikkelsen
SSCommitted
Points: 1602
More actions
January 18, 2010 at 1:32 am
#1104817
Hi jks-591682
To get the start time of the service, you could add this line:
PRINT 'SQL Server was started: ' + CONVERT(char,@starttime)