A common question I receive is that how do user know which version user is using and what is the latest service pack number available for the product. Here is something at this beginning of the year, check with your production server. See if you are using the latest version of the product or if you need to upgrade. If you need to upgrade you might want to plan it with your entire team. As I get this question often here is something I have already built and kept it with me. As soon as I receive an email with the question about the version, I right away send it to them.
Now onwards as I have blogged about this subject, in future question, I will like to this blog post. Please feel free to add more details if I have missed any.
Here are two of the methods, you can use to identify your SQL Server version:
Open SSMS and in a New Query Window run following T-SQL code.
SELECT@@version
Here is the result of the query:
Now let us run following script:
SELECT SERVERPROPERTY('productversion'),</pre> <pre>SERVERPROPERTY ('productlevel'),</pre> <pre>SERVERPROPERTY ('edition')
Here is the result of the query:
The above query will return the version details of installed SQL Server.
Here is the list of the all the available RTM and Service Pack Numbers.
SQL Server 2012 Versions
Release | Product Version |
---|---|
SQL Server 2012 Service Pack 1 | 11.00.3000.00 |
SQL Server 2012 RTM | 11.00.2100.60 |
SQL Server 2008 R2 Versions
Release | Product Version |
---|---|
SQL Server 2008 R2 Service Pack 1 | 10.50.2500.0 |
SQL Server 2008 R2 RTM | 10.50.1600.1 |
SQL Server 2008 Versions
Release | Product Version |
---|---|
SQL Server 2008 Service Pack 3 | 10.00.5500.00 |
SQL Server 2008 Service Pack 2 | 10.00.4000.00 |
SQL Server 2008 Service Pack 1 | 10.00.2531.00 |
SQL Server 2008 RTM | 10.00.1600.22 |
SQL Server 2005 Versions
Release | Product version |
---|---|
SQL Server 2005 Service Pack 4 | 9.00.5000.00 |
SQL Server 2005 Service Pack 3 | 9.00.4035 |
SQL Server 2005 Service Pack 2 | 9.00.3042 |
SQL Server 2005 Service Pack 1 | 9.00.2047 |
SQL Server 2005 RTM | 9.00.1399 |
SQL Server 2000 Versions
Release | Product version |
---|---|
SQL Server 2000 Service Pack 4 | 8.00.2039 |
SQL Server 2000 Service Pack 3 | 8.00.760 |
SQL Server 2000 Service Pack 3 | 8.00.760 |
SQL Server 2000 Service Pack 2 | 8.00.534 |
SQL Server 2000 Service Pack 1 | 8.00.384 |
SQL Server 2000 RTM | 8.00.194 |
This method will help us find edition of the relational database. In future blog posts we will see the methods to identify the version of the Business Intelligence Services.
Reference: Pinal Dave (https://blog.sqlauthority.com)
10 Comments. Leave new
Just FYI,
SQL Server® 2008 R2 Service Pack 2 is available as well with Product Version: 10.50.4000.0 (http://www.microsoft.com/en-in/download/details.aspx?id=30437)
You forgot about SQL Server 2008 R2 SP2 10.50.4000.0
5n good article
It would be nice to see ALL version build numbers, including each CU build.
@Clifton: You can get the list of all version build numbers from the Microsoft link referred in this post:
This site has a little bit more detail on each versions are available (RTM, SP, CU.)
Pinal, where I can get list of Servce packs ,CU ,Security Updates for SQL Server 2005 & 2008
Hi Pinal,
I upgraded my sql server from 2005 to 2008R2, when i checked
Start–>All Programs in my server it is showing both 2005 and 2008. Should i uninstall 2005 after the upgradation? Please suggest..
is there a relation between the product version and the edition? I’m just looking for a way to know if it’s sql express only looking at the product version.
Gud info.