Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query to get SQL Server Installation Date...

Status
Not open for further replies.

toocool4school

Programmer
Jul 30, 2007
2
US
Hi

Is there a way I can get the date when a SQL Server database was installed ?

Thanks
Aswin
 
Look at the mdf's date created column in the data directory.

Phil Hegedusich
Senior Programmer/Analyst
IIMAK
-----------
Pity the insomniac dyslexic agnostic. He stays up all night, wondering if there really is a dog.
 
Thanks... But is there a way I can extract the information using a query ? Coz I need to automate the process...
 
EXEC sp_helpdb 'Database name'

It's the 'created' column in the first recordset.

Read BOL for more information about administrative procedures like sp_helpdb.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top