Get Server Installation Date

  • How to find the installation date for an sql server installation default or named instance?

    Now I use XP_regread @rootkey='HKEY_LOCAL_MACHINE', @key='SOFTWARE\Microsoft\MSSQLServer\setup',

    @value_name='SQLPath',

    @value = @root OUTPUT

    To output the SQLPath and then use xp_getfiledetails to have details about this folder. But by named instances these registry keys are different.

  • Your master database creation date is your SQL server installation date

    Shas3

  • My master database create date show year 2000. Anyone care to guess why this is if it was just built?

    Paul, your script is good. thanks!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply