Community

How to Programmatically Identify When Your SQL Server Was Last Started

(Greg Larsen) Where do you go to find the last time SQL Server was started? I’m guessing you might have gone to the ERRORLOG file and reviewed it to determine when SQL Server started.