如何识别SQL Server的版本

来源:互联网 发布:阿尔法淘宝宝贝 编辑:程序博客网 时间:2024/05/21 09:13

转自:http://translate.google.com.hk/translate?hl=zh-CN&langpair=en%7Czh-CN&u=http://support.microsoft.com/kb/321185

 

 

本文介绍如何识别当前的Microsoft SQL Server版本号和相应的产品或服务包级别。它还介绍了如何识别所使用的特定版本的SQL Server。

 

How to determine which version of SQL Server 2008 is running如何确定SQL Server 2008的版本正在运行

To determine which version of Microsoft SQL Server 2008 is running, connect to SQL Server 2008 by using SQL Server Management Studio, and then run the following Transact-SQL statement.要确定哪个版本的Microsoft SQL Server 2008正在运行,连接到SQL Server 2008使用SQL Server Management Studio,然后运行下列Transact - SQL语句。
 SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')选择SERVERPROPERTY('productversion'),SERVERPROPERTY('productlevel'),SERVERPROPERTY('版') 
The following results are returned:返回的结果如下:
  • The product version (for example, 10.0.1600.22)产品版本(例如,10.0.1600.22)
  • The product level (for example, RTM)产品级别(例如,RTM中)
  • The edition (for example, Enterprise)该版本(例如,企业)
For example, the results resemble the following.例如,结果如下所示。
Collapse this table 折叠此表 Expand this table 本表展开
10.0.1600.22 10.0.1600.22RTM RTM的Enterprise Edition企业版
The following table lists the Sqlservr.exe version number.下表列出了Sqlservr.exe的版本号。
Collapse this table 折叠此表 Expand this table 本表展开
Release 发布Sqlservr.exe Sqlservr.exe的RTM RTM的2007.100.1600.0 2007.100.1600.0SQL Server 2008 Service Pack 1 SQL Server 2008服务包12007.100.2531.0 2007.100.2531.0
 

How to determine which version of SQL Server 2005 is running如何确定哪个版本的SQL Server 2005是运行

To determine which version of Microsoft SQL Server 2005 is running, connect to SQL Server 2005 by using SQL Server Management Studio, and then run the following Transact-SQL statement.要确定哪个版本的微软SQL Server 2005的运行,连接到SQL Server 2005使用SQL Server Management Studio,然后运行下列Transact - SQL语句。
 SELECT  SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')选择SERVERPROPERTY('productversion'),SERVERPROPERTY('productlevel'),SERVERPROPERTY('版') 
The following results are returned:返回的结果如下:
  • The product version (for example, 9.00.1399.06)产品版本(例如,9.00.1399.06)
  • The product level (for example, RTM)产品级别(例如,RTM中)
  • The edition (for example, Enterprise Edition)该版本(例如,企业版)
For example, the results resemble the following.例如,结果如下所示。
Collapse this table 折叠此表 Expand this table 本表展开
9.00.1399.06 9.00.1399.06RTM RTM的Enterprise Edition企业版
The following table lists the Sqlservr.exe version number.下表列出了Sqlservr.exe的版本号。
Collapse this table 折叠此表 Expand this table 本表展开
Release 发布Sqlservr.exe Sqlservr.exe的RTM RTM的2005.90.1399 2005.90.1399SQL Server 2005 Service Pack 1 SQL Server 2005服务包12005.90.2047 2005.90.2047SQL Server 2005 Service Pack 2 SQL Server 2005服务包22005.90.3042 2005.90.3042SQL Server 2005 Service Pack 3 SQL Server 2005服务包32005.90.4035 2005.90.4035
 

How to determine which version of SQL Server 2000 is running如何确定哪个版本的SQL Server 2000正在运行

To determine which version of SQL Server 2000 is running, connect to SQL Server 2000 by using Query Analyzer, and then run the following code.要确定哪个版本的SQL Server 2000正在运行,连接到SQL Server 2000通过使用查询分析器,然后运行下面的代码。
 SELECT  SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')选择SERVERPROPERTY('productversion'),SERVERPROPERTY('productlevel'),SERVERPROPERTY('版') 
The following results are returned:返回的结果如下:
  • The product version (for example, 8.00.534)产品版本(例如,8.00.534)
  • The product level (for example, "RTM" or "SP2")产品级别(例如,“RTM的”或“SP2的”)
  • The edition (for example, "Standard Edition").该版本(例如,“标准版”)。 For example, the results resemble the following:例如,结果如下所示: 

    8.00.534 SP2 Standard Edition 8.00.534 SP2的标准版
The following table lists the Sqlservr.exe version number.下表列出了Sqlservr.exe的版本号。
Collapse this table 折叠此表 Expand this table 本表展开
Release发布Sqlservr.exe Sqlservr.exe的RTM RTM的2000.80.194.0 2000.80.194.0SQL Server 2000 SP1 SQL Server 2000的SP1的2000.80.384.0 2000.80.384.0SQL Server 2000 SP2 SQL Server 2000的SP2的2000.80.534.0 2000.80.534.0SQL Server 2000 SP3 SQL Server 2000的SP3的2000.80.760.0 2000.80.760.0SQL Server 2000 SP3a的SQL Server 2000 SP3a的2000.80.760.0 2000.80.760.0SQL Server 2000 SP4 SQL Server 2000的SP4的2000.8.00.2039 2000.8.00.2039
 

How to determine which version of SQL Server 7.0 is running如何确定哪个版本的SQL Server 7.0运行

To determine which version of SQL Server 7.0 is running, connect to SQL Server 7.0 by using Query Analyzer, and then run the following code.要确定哪个版本的SQL Server 7.0的运行,连接到SQL Server 7.0使用查询分析器,然后运行下面的代码。
 SELECT @@VERSION选择@ @版本 
The results resemble the following:结果类似于以下内容:
 Microsoft SQL Server  7.00 - 7.00.623 (Intel X86)微软SQL Server的7.00 - 7.00.623(英特尔X86)        Nov 27 1998 22:20:07 1998年11月27日22时二十分07秒        Copyright (c) 1988-1998 Microsoft Corporation版权所有(c)1988-1998微软公司        Desktop Edition on Windows NT 5.1 (Build 2600: )桌面版在Windows NT 5.1(内部版本2600:) 
Note In this example, the version number is 7.00.623. 注意在这个例子中,版本号为7.00.623。 

Use the version number in the following table to identify the product or service pack level.使用下表中的版本号识别产品或服务包级别。
Collapse this table 折叠此表 Expand this table 本表展开
Version Number版本号Service Pack服务包7.00.1063 7.00.1063SQL Server 7.0 Service Pack 4 (SP4)的SQL Server 7.0的Service Pack 4(SP4)的7.00.961 7.00.961SQL Server 7.0 Service Pack 3 (SP3) SQL Server 7.0服务包3(SP3)的7.00.842 7.00.842SQL Server 7.0 Service Pack 2 (SP2) SQL Server 7.0服务包2(SP2)的7.00.699 7.00.699SQL Server 7.0 Service Pack 1 (SP1) SQL Server 7.0服务包1(SP1)7.00.623 7.00.623SQL Server 7.0 RTM (Release To Manufacturing) SQL Server 7.0中的RTM(发布到制造)
If the version number that is reported by @@VERSION is not listed in this table, SQL Server is running with a hotfix or a security update build.如果版本号是由@ @报建的版本是没有列在表时,SQL Server更新运行了修补程序或安全性。 For example, if @@VERSION reports a version number of 7.00.859, you are running SQL Server 7.0 SP2 with a hotfix installed.例如,如果@ @ VERSION报告版本号为7.00.859,您正在运行的SQL Server 7.0 SP2中修复安装一个。 The version number increases with each new version of the Sqlservr.exe executable file. Sqlservr.exe可执行文件的版本号随每个新版本。 See to the Readme.txt file for your hotfix or security update for more information.请参阅此安全更新的修补程序的Readme.txt文件或了解更多信息。
 

How to determine which version of SQL Server 6.5 is running如何确定哪个版本的SQL Server 6.5运行

To determine which version of Microsoft SQL Server 6.5 is running, connect to SQL Server 6.5 by using Isql_w, and then run the following code.要确定哪个版本的微软SQL Server 6.5的运行,连接到SQL Server 6.5使用Isql_w,然后运行下面的代码。
 SELECT @@VERSION选择@ @版本 
Use the version number in the following table to identify the product or service pack level.使用下表中的版本号识别产品或服务包级别。
Collapse this table 折叠此表 Expand this table 本表展开
Version Number版本号Service Pack服务包6.50.479 6.50.479SQL Server 6.5 Service Pack 5a (SP5a) Update SQL Server 6.5的服务包5A条(SP5a)更新6.50.416 6.50.416SQL Server 6.5 Service Pack 5a (SP5a)的SQL Server 6.5的Service Pack 5a(另SP5a)6.50.415 6.50.415SQL Server 6.5 Service Pack 5 (SP5)的SQL Server 6.5的Service Pack 5(SP5)中6.50.281 6.50.281SQL Server 6.5 Service Pack 4 (SP4)的SQL Server 6.5的Service Pack 4(SP4)的6.50.258 6.50.258SQL Server 6.5 Service Pack 3 (SP3) SQL Server 6.5的服务包3(SP3)的6.50.240 6.50.240SQL Server 6.5 Service Pack 2 (SP2) SQL Server 6.5的服务包2(SP2)的6.50.213 6.50.213SQL Server 6.5 Service Pack 1 (SP1) SQL Server 6.5的服务包1(SP1)6.50.201 6.50.201SQL Server 6.5 RTM SQL Server 6.5中的RTM  
If the version number that is reported by @@VERSION is not listed in this table, SQL Server is running with a hotfix or a security update build.如果版本号是由@ @报建的版本是没有列在表时,SQL Server更新运行了修补程序或安全性。 The version number increases with each new version of the Sqlservr.exe executable file. Sqlservr.exe可执行文件的版本号随每个新版本。 See to the Readme.txt file for your hotfix or security update for more information.请参阅此安全更新的修补程序的Readme.txt文件或了解更多信息。
 

How to determine which edition of SQL Server is running如何确定哪个版本的SQL Server运行

If you are not sure about what edition of SQL Server that you are running, the last line of output that is returned by @@VERSION reports the edition to which you have connected.如果您没有运行肯定的是一些什么版本的SQL Server的你,最后一行的输出返回由@ @ VERSION报告的版本连接到您的。 The example that is used in this article is the Standard Edition of SQL Server 2000 on Windows NT 5.0 (Build 2195: Service Pack 2).文章举例来说,这是用于服务器5.0标准版的SQL 2000在Windows NT(生成2195:Service Pack 2中)。 

Note The build and service pack information that is provided earlier is for the operating system, not for SQL Server. 注意建立和服务包之前提供信息,为作业系统是服务器,而不是为SQL。
 Standard Edition on Windows NT 5.0 (Build 2195: Service Pack 2)在Windows NT 5.0标准版(内部版本2195:Service Pack 2中) 
 

 

  • Microsoft SQL Server 2000 Standard Edition微软SQL Server 2000标准版
  • Microsoft SQL Server 2000 64-bit Edition微软的SQL Server 2000 64位版
  • Microsoft SQL Server 7.0 Standard Edition微软SQL Server 7.0标准版
  • Microsoft SQL Server 6.5 Standard Edition微软SQL Server 6.5标准版
  • Microsoft SQL Server 2005 Standard Edition微软SQL Server 2005标准版
  • Microsoft SQL Server 2005 Express Edition微软SQL Server 2005速成版
  • Microsoft SQL Server 2005 Developer Edition微软SQL Server 2005开发版
  • Microsoft SQL Server 2005 Enterprise Edition微软SQL Server 2005企业版
  • Microsoft SQL Server 2005 Workgroup Edition微软SQL Server 2005工作组版
  • Microsoft SQL Server 2008 Developer微软SQL Server 2008开发
  • Microsoft SQL Server 2008 Enterprise微软SQL Server 2008企业
  • Microsoft SQL Server 2008 Standard微软SQL Server 2008标准
  • Microsoft SQL Server 2008 Web微软SQL Server 2008网络
  • Microsoft SQL Server 2008 Workgroup微软SQL Server 2008工作组
  • Microsoft SQL Server 2008 Express微软SQL Server 2008 Express的

 

转自:http://translate.google.com.hk/translate?hl=zh-CN&langpair=en%7Czh-CN&u=http://support.microsoft.com/kb/321185

0 0
原创粉丝点击