Sql Server 2005 Evaluation, how to find how much time is left

Posted on 2006-05-16
Medium Priority
Last Modified: 2008-01-09
I have Sql Server 2005 Evaluation 180 days, how can I find how many days are left before the evaluation period expires? I have tried both with SELECT @@version and xp_msver but that information isn't shown...
Question by:cip
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 16688772
I don't know the "correct" answer, but I would look at the creation time of the folders of sql server, add 180 days to that and, well, you know the rest...
LVL 39

Expert Comment

ID: 16689616
in t/sql try
select @@version

not sure if it gives the days left information or not, i dont have evaluation version cant check it here.
LVL 39

Expert Comment

ID: 16689646
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

LVL 28

Expert Comment

ID: 16689744
may be this will help

select datediff(dd,getdate(),dateadd(dd,180,min(crdate))) as daysleft from sysdatabases where status = 16

Author Comment

ID: 16693155
I think imran_fast is close to it, none of the other properties/stored procedures shows that info as well.

Let me make it clearer, your query computes the difference between date Sql server instance has been created + 180 days and today right?
LVL 28

Accepted Solution

imran_fast earned 500 total points
ID: 16707306
Yes ,

Actually it is the difference of  date when first database is created on the server and today's date.

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question