SQL Tip: How to find SQL Server installation date and time

Getting right down to business… heres the script

SELECT create_date
FROM sys.server_principals
WHERE sid = 0x010100000000000512000000
And for Eval versions
-- Evaluation Version Expire Date
SELECTcreate_date ASInstallationDate,
DATEADD(DD, 180, create_date) AS'Expiry Date'
WHEREsid = 0x010100000000000512000000
Reference: Pinal Dave (http://blog.sqlauthority.com)



IT professional with wider interest in technology

Tagged with:
Posted in sql, SQL Server, tsql, Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: