How do I view the version, Patch pack information for SQL Server? And how do I identify if I need to upgrade my SQL Server?

Source: Internet
Author: User

As a database administrator of SQL Server, one of the most frequently encountered problems is to see which version of SQL Server you belong to, whether the latest fix pack is installed, and whether the most recent security patches are installed. Prior to this, we could get the relevant information through the following SQL script:

Method 1:select @ @version//Method 2:selectserverproperty (' ProductLevel ') as Productlevel,serverproperty (' Productupdatelevel ') as Productupdatelevel,serverproperty (' Productbuildtype ') as Productbuildtype,serverproperty (' Productupdatereference ') as Productupdatereference,serverproperty (' ProductVersion ') as ProductVersion, Serverproperty (' productmajorversion ') as Productmajorversion,serverproperty (' productminorversion ') as Productminorversion,serverproperty (' Productbuild ') as Productbuildgo

Then go to Microsoft's official website KB321185 The version information in the comparison, so as to determine whether to update the database upgrade. At present, Microsoft's one script team released a SQL script, the administrator directly run the script, you can get the following results:

SQL Server belongs to which release, which version, which service pack, which integration fix pack, and so on. At the same time, the most important thing is that it will give you advice on which recent patch package you should install and which Servcie pack you should upgrade to.

You can download and use this script from TechNet as one of your own tools for managing your database server on a daily basis:

    • : Https://gallery.technet.microsoft.com/Determining-which-version-af0f16f6/file/144559/1/DetermineVersionOfSQLServer.zip
    • Article Address: Https://gallery.technet.microsoft.com/Determining-which-version-af0f16f6

How do I view the version, Patch pack information for SQL Server? And how do I identify if I need to upgrade my SQL Server?

Related Article

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.