SQL Server Evaluation Edition is available free of cost. It’s a trial version & valid for limited time of period. The expiration date is always 180 days from the initial installation date.
The following query will give you the expiration date of evaluation instance :
SELECT
@@SERVERNAME SERVERNAME,
CREATE_DATE ‘INSTALALTIONDATE’,
SERVERPROPERTY(‘EDITION’) ‘Version’,
DATEADD(DD, 180, CREATE_DATE) AS ‘EXPIRY DATE’
FROM SYS.SERVER_PRINCIPALS
WHERE SID = 0X010100000000000512000000
SID 0X010100000000000512000000 is associated with login “NT AUTHORITYSYSTEM” & which is created at the time of installation only.
If you liked this post, do like on Facebook at http://www.facebook.com/mssqlfun
Reference : Rohit Garg (http://mssqlfun.com/)