Quantcast
Viewing latest article 30
Browse Latest Browse All 158

SQL Server Reporting Services FAQ

Question 10: How to verify the version of SQL Server?

 

Answer:

 

There are a few ways to verify the version of SQL Server.

 

Method 1. You can run a query "SELECT @@VERSION" and note the version number returned in the string. SQL Server 2005 SP1 would return something like the following:

 

        Microsoft SQL Server 2005 - 9.00.2047.00 (Intel X86)

        Sep 22 2006 23:44:32

        Copyright (c) 1988-2005 Microsoft Corporation

        Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 1)

 

Method 2. you can also look at the file version for sqlservr.exe.

 

Method 3. If you look in Add\Remove Programs, you would also see an entry for Service Pack 1 for SQL Server <component name>. Each patched component would have its own entry. Please note that you will need to select the "Show Updates" check box in the Add\Remove Programs dialog.

 

Method 4. You can check the registry keys and values under:

 

HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server

 

There are several other areas that contain version information. Shared components generally have a Setup sub-key under "HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft SQL Server \90\<Component>". For example:

 

...\90\DTS\Setup

...\90\Tools\Setup

...\90\NS\Setup

 

Then for each instance of SQL\Analysis Services\Reporting Services, you can look under the instance specific key. These keys are numbered as MSSQL.x (where x is the instance number). These are created in the order of installation. So if you have only a single instance of SQL Server, the instance key would be MSSQL.1. Under each instance key you'll find a Setup key as well.

 

In all cases, the Setup sub-key contains a value of PatchLevel, which equals the version of the instance.

 

For example, for SQL Server 2005 RTM, the value should be 9.0.1399, and SP1 would be 9.0.2047.


Microsoft Online Community Support

Viewing latest article 30
Browse Latest Browse All 158

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>