How do I properly view the SQL Server 2005 version number?

Source: Internet
Author: User
Tags microsoft sql server microsoft sql server 2005 pack microsoft c

View SQL Server 2005 version number

Select SERVERPROPERTY (' ProductVersion '), serverproperty (' ProductLevel '), Serverproperty (' edition ')

The following is the SQL Server 2005 version number query results information:

  First, view the SQL Server 2005 version number

Select SERVERPROPERTY (' ProductVersion '), serverproperty (' ProductLevel '), Serverproperty (' edition ')

The following is the SQL Server 2005 version number query results information:

Version Level edition 9.00.3042.00 SP2 Enterprise Edition

The following table is the version number information for SQL Server 2005:

SQL Server 2005 version number SQL Server 2005 version description

2005.90.1399 RTM 2005.90.2047 SQL Server SP1 2005.90.3042 SQL Server Manufacturing

  Second, view SQL Server 2000 version number

Select SERVERPROPERTY (' ProductVersion '), serverproperty (' ProductLevel '), Serverproperty (' edition ')

The following is the SQL Server 2000 version number query results information:

Version Level edition 8.00.2039 SP4 Enterprise Edition

The following table is the version number information for SQL Server 2000:

SQL Server 2000 version number SQL Server 2000 version description

2000.80.194.0 RTM (Release to manufacturing) 2000.80.384.0 SQL Server SP1 2000.80.534.0 SQL Server SP2 60.0 SQL Server SP3 2000.80.760.0 SQL Server Watts SP3a 2000.8.00.2039 SQL Server? SP4

Common methods for viewing SQL Server version numbers: @ @version

SELECT @ @version Microsoft SQL Server 2000-8.00.2039 (Intel X86) May 3 23:18:38 Copyright (c) 1988-2003 Microsoft C Orporation Enterprise Edition on Windows NT 5.2 (build 3790:service Pack 1) Microsoft SQL Server 2005-9.00.3042.00 (Int El 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)

As you can see, the @ @version version number results also contain the OS version information. At the same time @ @version is common to versions above SQL Server 6.5.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.