|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 2:36 PM
Points: 1,168,
Visits: 2,679
|
|
I am using below query to identify when was sql server installed.
SELECT create_date as 'SQL Server Install Date'
FROM sys.server_principals WHERE name='NT AUTHORITY\SYSTEM'
However when i check the create_Date for master database it doesnt match the install date? I am sure master db wasn't re-installed? Any thoughts and what would be ideal way to identify when was sql server installed?
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 6:42 AM
Points: 1,370,
Visits: 2,285
|
|
Is create data for Master DB is older than the Server date ?
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 2:36 PM
Points: 1,168,
Visits: 2,679
|
|
Joy Smith San (8/16/2012)
Is create data for Master DB is older than the Server date ?
Yes Masterdb create date is Older than server date..why????
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Yesterday @ 4:57 AM
Points: 846,
Visits: 2,082
|
|
one of our server is 4/8/2003 9:13:36 AM but sql 2005 not released in 2003 , may be this is master db for 2005 build date.
Regards Durai Nagarajan
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 5:17 PM
Points: 335,
Visits: 841
|
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Yesterday @ 4:57 AM
Points: 846,
Visits: 2,082
|
|
Scott,
it is giving '2011-09-24 00:00:00.000' still not correct, we have installed it on august/september 2007 after that no re install /rebuild.
Regards Durai Nagarajan
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 5:17 PM
Points: 335,
Visits: 841
|
|
| If you know when it was installed why would you need to query to find out that which you already know?
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Yesterday @ 6:42 AM
Points: 1,370,
Visits: 2,285
|
|
I think it's the build date.
Scott D. Jacobson (8/16/2012) If you know when it was installed why would you need to query to find out that which you already know?
That doesn't make sense. What's wrong in learning some new commands even if you already know what the result would be ? What if his manager ask him to get those details from another server which he's not aware of ?
|
|
|
|
|
SSC Eights!
      
Group: General Forum Members
Last Login: Yesterday @ 4:57 AM
Points: 846,
Visits: 2,082
|
|
Thanks joy,
just a doubt will the service packs changing the build dates?
Regards Durai Nagarajan
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Tuesday, May 14, 2013 5:17 PM
Points: 335,
Visits: 841
|
|
Joy Smith San (8/16/2012)
I think it's the build date. Scott D. Jacobson (8/16/2012) If you know when it was installed why would you need to query to find out that which you already know?That doesn't make sense. What's wrong in learning some new commands even if you already know what the result would be ? What if his manager ask him to get those details from another server which he's not aware of ?
OK, that's fair. I guess the original question didn't come off that way. Maybe I misunderstood.
|
|
|
|