Home > Database > Mysql Tutorial > body text

如何正确查看 SQL Server 2005 版本号?

WBOY
Release: 2016-06-07 16:22:30
Original
1407 people have browsed it

查看 SQL Server 2005 版本号 select serverproperty('productversion') ,serverproperty('productlevel') ,serverproperty('edition') 下面是 SQL Server 2005 版本号查询结果信息: 一、查看 SQL Server 2005 版本号 select serverproperty('productversio

   查看 SQL Server 2005 版本号

  select serverproperty('productversion') ,serverproperty('productlevel') ,serverproperty('edition')

  下面是 SQL Server 2005 版本号查询结果信息:

  一、查看 SQL Server 2005 版本号

  select serverproperty('productversion') ,serverproperty('productlevel') ,serverproperty('edition')

  下面是 SQL Server 2005 版本号查询结果信息:

  version level edition 9.00.3042.00 SP2 Enterprise Edition

  下表是 SQL Server 2005 版本号信息:

  SQL Server 2005 版本号 SQL Server 2005 版本描述

  2005.90.1399 RTM (Release to Manufacturing) 2005.90.2047 SQL Server 2005 SP1 2005.90.3042 SQL Server 2005 SP2

  二、查看 SQL Server 2000 版本号

  select serverproperty('productversion') ,serverproperty('productlevel') ,serverproperty('edition')

  下面是 SQL Server 2000 版本号查询结果信息:

  version level edition 8.00.2039 SP4 Enterprise Edition

  下表是 SQL Server 2000 各个版本号信息:

  SQL Server 2000 版本号 SQL Server 2000 版本描述

  2000.80.194.0 RTM (Release to Manufacturing) 2000.80.384.0 SQL Server 2000 SP1 2000.80.534.0 SQL Server 2000 SP2 2000.80.760.0 SQL Server 2000 SP3 2000.80.760.0 SQL Server 2000 SP3a 2000.8.00.2039 SQL Server 2000 SP4

  查看 SQL Server 版本号的通用方法:@@version

  select @@version Microsoft SQL Server 2000 - 8.00.2039 (Intel X86) May 3 2005 23:18:38 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 1) Microsoft SQL Server 2005 - 9.00.3042.00 (Intel X86) Feb 9 2007 22:47:07 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition on Windows NT 5.2 (Build 3790: Service Pack 2)

  可以看出,,@@version 版本号结果中还包含 OS 版本信息。同时 @@version 通用于 SQL Server 6.5 以上的版本。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!