SQL Server

How to find Installed SQL Server Version and Edition

This post describes possible ways to find or identify installed SQL server version and edition. Assume that you are a DBA and you have been given a task to plan for SQL upgrade. The first thought that comes to your mind is “What is the version and edition of my SQL Server”. You might also look for possible upgrade paths for latest SQL versions.

Finding out this information shouldn’t be tough however it is good to know the ways to determine SQL server version and edition. This post should come handy if someone asks what SQL Server version you are running ?.

You can use any of the below methods to identify SQL server version. For complete info on SQL versions and build numbers click here.

Find Installed SQL Server Version and Edition

We will look at some of the easiest methods to find installed SQL server versions. Note that these methods should work on almost all recent editions of SQL server.

Method 1 – Use SQL Query to find installed SQL server version

Launch SQL server management studio and login with the credentials. Right click on server and click New Query. In the query box type select @@version and click Execute. The result should look similar to the below output. If you don’t have the creds to login to SQL management studio then check the next method.

Microsoft SQL Server 2014 (SP2) (KB3171021) - 12.0.5000.0 (X64) Enterprise Edition (64-bit) on Windows NT 6.3 x64

Find Installed SQL Server Version

Method 2 – Determine SQL Server Version using SQL Server Properties

This is probably one of the easiest method to find out SQL server details. In this method we will determine SQL server version through sqlservr properties.

Navigate to C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\Binn and look for sqlservr executable. Right click the file and click Properties. Click Details tab, you should find product version and product name listed.

Find Installed SQL Server Version

Method 3 – Find out SQL Server version using SQL Query

In this method we will use the below query to fetch the SQL details. This includes product version, product level and edition.

SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

Find Installed SQL Server Version

Method 4 – Check SQL Server Version using Powershell

You can use PowerShell to check installed SQL server version. Open the PowerShell and enter the below command.

Invoke-SqlCmd -query "select @@version" -ServerInstance "localhost"

Prajwal Desai

Hi, I am Prajwal Desai. For last few years I have been working on multiple technologies such as SCCM / Configuration Manager, Intune, Azure, Security etc. I created this site so that I can share valuable information with everyone.

Related Articles


  1. Hello,
    ist there a way to report or query the SQL Server Edition in SCCM? I would like to distinguish between Enterprise, Standard and Express Edition.
    Thanks in advance!


      1. You can use an SCCM query’s criteria to find all machines with %SQL Server% installed in ARP or Installed Software, or Services > %SQLSERVERAGENT%. In order to sort, you can add the Name or Product Name as a column in your query.

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button