Article ID: 321185 - Last Review: January 17, 2012 - Revision: 24.0 How to determine the version and edition of SQL Server and its components
This article was previously published under Q321185 On This PageSUMMARYThis article describes how to determine your current Microsoft SQL Server version number and the corresponding product or service pack level. It also describes how to determine the specific edition of SQL Server that you are using. Note If you just want to find the latest builds for SQL Server, you can refer to the following article. Or, you can check the tables that correspond to your product in the "More Information" section of this article. 957826
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;957826)
Where to find information about the latest SQL Server builds How to determine the version of SQL Server Client toolsSQL Server Management Studio (SSMS)To determine the version of the client tools that are installed on your system, start Management Studio, and then click About on the Help menu.Collapse this image ![]() SQL Server Business Intelligence Development Studio (BIDS)To check the version of Analysis Services Designer, of Integration Services Designer, or of SQL Server Reporting Services Designer, follow these steps:
How to determine which version and edition of SQL Server Database Engine is runningTo determine the version of SQL Server, you can use any of the following methods:Method 1: Connect to the server by using Object Explorer in SQL Server Management Studio. After Object Explorer is connected, it will show the version information in parentheses, together with the user name that is used to connect to the specific instance of SQL Server. Method 2: Look at the first few lines of the Errorlog file for that instance. By default, the error log is located at Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG and ERRORLOG.n files. The entries may resemble the following: 2011-03-27 22:31:33.50 Server Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64) Mar 29 2009 10:11:52 Copyright (c) 1988-2008 Microsoft Corporation Express Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: ) Method 3: Connect to the instance of SQL Server, and then run the following query: Select @@version Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64) Mar 29 2009 10:11:52 Copyright (c) 1988-2008 Microsoft Corporation Express Edition (64-bit) on Windows NT 6.1 <X64> (Build 7600: ) Method 4: Connect to the instance of SQL Server, and then run the following query: SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')The following results are returned:
For example, the results resemble the following. Collapse this table
Note The SERVERPROPERTY function returns individual properties that relate to the version information, although the @@VERSIONfunction combines the output into one string. If your application requires individual property strings, you can use the SERVERPROPERTY function to return them instead of parsing the @@VERSIONresults. Method 5: Starting with SQL Server 2008, you can also use the Installed SQL Server Features Discovery report. This report can be found by locating the Tools page of SQL Server Installation Center. This tool gives information about all the instances of SQL Server that are installed on the system. These include client tools such as SQL Server Management Studio. The only thing to be aware of is that this tool can be run locally only on the system where SQL server is installed. It cannot be used to obtain information about remote servers. For more information, visit the following blog post on the Microsoft Developer Network (MSDN): SQL Server 2008 Discovery Report
(http://blogs.msdn.com/b/petersad/archive/2009/11/13/sql-server-2008-discovery-report.aspx)
A snapshot of a sample report is as follows: Collapse this image ![]() SQL Server 2008 R2 version informationThe following table lists the major releases of SQL Server 2008 R2.Collapse this table
2527041
(http://support.microsoft.com/kb/2527041/
)
How to obtain the latest service pack for SQL Server 2008 R2 For more information about the latest cumulative updates available for SQL Server 2008 R2, click the following article number to view the article in the Microsoft Knowledge Base: 981356
(http://support.microsoft.com/kb/981356/
)
The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 was released 2567616
(http://support.microsoft.com/kb/2567616/
)
The SQL Server 2008 R2 builds that were released after SQL Server 2008 R2 Service Pack 1 was released SQL Server 2008 version informationThe following table lists the major releases of SQL Server 2008.Collapse this table
968382
(http://support.microsoft.com/kb/968382/
)
How to obtain the latest service pack for SQL Server 2008 For more information about the latest cumulative updates available for SQL Server 2008, click the following article numbers to view the articles in the Microsoft Knowledge Base: 956909
(http://support.microsoft.com/kb/956909/
)
The SQL Server 2008 builds that were released after SQL Server 2008 was released 970365
(http://support.microsoft.com/kb/970365/
)
The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 1 was released 2402659
(http://support.microsoft.com/kb/2402659/
)
The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 2 was released 2629969
(http://support.microsoft.com/kb/2629969/
)
The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 3 was released SQL Server 2005 version informationThe following table lists the major releases of SQL Server 2005.Collapse this table
913089
(http://support.microsoft.com/kb/913089/
)
How to obtain the latest service pack for SQL Server 2005 s For more information about the latest cumulative updates available for SQL Server 2005, click the following article number to view the article in the Microsoft Knowledge Base: 937137
(http://support.microsoft.com/kb/937137/
)
The SQL Server 2005 builds that were released after SQL Server 2005 Service Pack 2 was released 960598
(http://support.microsoft.com/kb/960598/
)
The SQL Server 2005 builds that were released after SQL Server 2005 Service Pack 3 was released 2485757
(http://support.microsoft.com/kb/2485757/
)
The SQL Server 2005 builds that were released after SQL Server 2005 Service Pack 4 was released SQL Server 2000 version informationThe following table lists version number of the Sqlservr.exe file.Collapse this table
For more information, click the following article number to view the article in the Microsoft Knowledge Base: 290211
(http://support.microsoft.com/kb/290211/
)
How to obtain the latest SQL Server 2000 service pack SQL Server Reporting ServicesTo determine the version of SQL Server Reporting Services, refer to the following topic in SQL Server Books Online:How to: Detect Version Information (Reporting Services)
(http://msdn.microsoft.com/en-us/library/bb630446.aspx)
SQL Server Integration ServicesTo determine the version of SQL Server Integration Services, refer to the following article in the Microsoft Knowledge Base:942177
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;942177)
How to determine the version of SQL Server Integration Services SQL Server Analysis ServicesTo determine the version of SQL Server Analysis Services, use one of the following methods:Method 1: Connect to the server by using Object Explorer in SQL Server Management Studio. After Object Explorer is connected, it will show the version information in parentheses, together with the user name that is used to connect to the specific instance of Analysis Services. Method 2: Check the version of the Msmdsrv.exe file in the Analysis Services bin folder. The default locations are shown in the following table: Collapse this table
Method 3: Use the registry keys that are listed in the following table: Collapse this table
For more information, visit the following Microsoft TechNet blog post: How to find Analysis Services Server Version
(http://blogs.technet.com/b/sqlman/archive/2008/03/25/how-to-find-analysis-services-server-version.aspx)
SQL Server replicationBecause replication agents may be installed on several different computers, it is important to check the installed versions on all affected computers.For example, the Distribution Agent in Transactional or Peer-to-Peer replication may exist on computers that differ from the publisher instance of SQL Server and may exist on the various subscriber instances of SQL Server in a pull subscription. If you use Web Synchronization for Merge Replication or SQL Server 2000 Windows CE Edition replication, the IIS web server may not be the same computer as the computer that is running SQL Server. Therefore, you have replication agent files that are installed on the IIS web server. And you may have to check the version of those .dll files in the IIS virtual directory and update them explicitly to obtain the latest service packs, cumulative updates, and hotfixes for your web agents. For more information, see the following topic in SQL Server Books Online: Using Multiple Versions of SQL Server in a Replication Topology
(http://msdn.microsoft.com/en-us/library/ms143241.aspx)
Full-text searchFull-text search components include the following:
You can use one of the following methods to determine the version of the full-text search component that is installed on your system. Note Each of these methods may indicate that the version of the full-text search compnent is either RTM or a version that is earlier than the current version of the database component. We acknowledge that this is a problem and are working on fixing it in a future update. Method 1: Check the version of SQL Server Full-Text Key (Sql_fulltext_keyfile.dll) in the SQL Server 2008 R2 or SQL Server 2008 installation folder. Typically, for SQL Server 2008 R2, this file is located in the following folder: %ProgramFiles%\Microsoft SQL Server\MSQL10_50.<Instance Name>\MSSQL For SQL Server 2008, this file typically is located in the following folder: %ProgramFiles%\Microsoft SQL Server\MSQL10.<Instance Name>\MSSQL Method 2: Check the following registry subkey: HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft sql server\Mssql10_50.instname\Setup\SQL_FULLTEXT_ADV featurelist: SQL_FullText_Adv=3 SQL_FullText_CNI=3ProductCode: {9DFA5914-C275-42E0-810E-C88E46A7F9EA}Patchlevel: 10.50.1765.0Version: 10.50.1600.1Method 3: Use the Summary.txt file that is created during setup. For SQL Server 2008 R2, this file is located in the following folder: %ProgramFiles%\Microsoft SQL Server\110\Setup Bootstrap\LOG\Summary.txt For SQL Server 2008, this file is located in the following folder: %ProgramFiles%\Microsoft SQL Server\100\Setup Bootstrap\LOG\Summary.txt See the following article in the Microsoft Knowledge Base for a known issue with full-text search components in SQL Server 2008 installations: 973888
(http://support.microsoft.com/kb/973888/
)
The Full-Text Search component is not completely rolled back to the Service Pack 1 version after you uninstall Cumulative Update 3 for SQL Server 2008 Service Pack 1 that is applied by using a slipstream installation SQL Server Master Data Services (MDS)The MDS Configuration Manager does not show the currently installed version number directly.Be aware that MDS has a unique versioning scenario in which the SQL Server database engine installation does not necessarily match the MDS version. The version may vary when you compare the SQL Server installation to the binaries deployed in the MDS website and the MDS catalog schema version. Manual steps that use the MDS Configuration Manager tool are required to update and to upgrade the MDS websites and database schemas. You can refer to the following blog post on hotfix and service pack update methodology for MDS: Downloading and Installing SQL Server 2008 R2 Master Data Services (MDS) Cumulative Updates
(http://sqlblog.com/blogs/mds_team/archive/2010/08/25/downloading-and-installing-sql-server-2008-r2-master-data-services-mds-cumulative-updates.aspx)
The following registry key shows the binary versions that are installed on the SQL Server. However, this version does not necessarily match the website and database schema version until the MDS upgrade process is complete. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\Master Data Services 10.5\CurrentVersion You can check the installed product version and schema version by using the following query in the MDS catalog: select * from mds.mdm.tblSystem SQL Server Native ClientTo determine the version of SQL Server Native Client, use one of the following methods:Method 1: On the system where you want to find the version of Native Client, start the ODBC Administrator (odbcad32.exe), and then check the Version column under the Drivers tab. Method 2: Check the following PatchLevel or Version keys at the following registry locations: Collapse this table
SQL Server BrowserThe browser version should match the highest version of the SQL Server Database Engine and of the instances of Analysis Services that are installed on the computer.SQL Server WriterTo determine the version of SQL Server Writer, check the following registry key value:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\SqlWriter\CurrentVersion The Microsoft .NET FrameworkTo determine the version of the .NET Framework on your system, refer to the following article in the Microsoft Knowledge Base:318785
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;318785)
How to determine which versions and service pack levels of the Microsoft .NET Framework are installed For more information, click the following article number to view the article in the Microsoft Knowledge Base: 2027770
(http://support.microsoft.com/kb/2027770/
)
Understanding the .NET Framework requirements for various versions of SQL Server SQL AzureTo find the version of your instance of SQL Azure and related information, see the following topic in Books Online:SQL Server CETo find the version of your instance of SQL Server CE and related information, see the following resources:
Older versions of SQL ServerSQL Server 7.0Use the version number in the following table to identify the product or service pack level:Collapse this table
For more information, click the following article number to view the article in the Microsoft Knowledge Base: 301511
(http://support.microsoft.com/kb/301511/
)
How to obtain the latest SQL Server 7.0 service pack SQL Server 6.5Use the version number in the following table to identify the product or service pack level:Collapse this table
For more information, click the following article number to view the article in the Microsoft Knowledge Base: 273914
(http://support.microsoft.com/kb/273914/
)
Readme.txt for SQL Server 6.5 post-Service Pack 5a Update Frequently asked questionsQ1: How do you determine the version of SQL Server when SQL Server is not running?A1: You can determine the version of SQL Server by using either method 2 or method 5 (for SQL Server 2008 or later versions) in the "How to determine which version of SQL Server Database Engine is running" section of this article. Q2: How do I map the product versions to product names? A2: You can use the following table as a reference: Collapse this table
Frequently used terms and acronymsCumulative update (CU): A roll-up update that contains all previous critical on-demand hotfixes to date. Additionally, a CU contains fixes for issues that meet the hotfix acceptance criteria. These criteria may include the availability of a workaround, the effect on the customer, the reproducibility of the problem, the complexity of the code that must be changed, and other topics.Hotfix: A single, cumulative package that includes one or more files that are used to address a problem in a product and are cumulative at the binary and file level. A hotfix addresses a specific customer situation and may not be distributed outside the customer's organization. RTM: Usually means "release to manufacturing." In the context of a product such as SQL Server, it indicates that no service packs or hotfixes were applied to the product. RTW: Usually means "release to web." It indicates a package that was released to the web and made available to customers for downloading. Service pack: A tested, cumulative set of all hotfixes, security updates, critical updates, and updates. Service packs may also contain additional fixes for problems that are found internally since the release of the product and a limited number of customer-requested design changes or features. For more information, visit the following websites:
MORE INFORMATIONSQL Server common build numbers and service packsNote These tables use the following format and are ordered by the build number.Collapse this table
SQL Server 2008 R2Collapse this table
SQL Server 2008Collapse this table
SQL Server 2005Collapse this table
SQL Server 2000Collapse this table
APPLIES TO
| Other Resources Other Support Sites
CommunityGet Help NowArticle Translations
|





















Back to the top



