Skip to content

Commit 769f217

Browse files
committed
initial updates
1 parent 692412e commit 769f217

1 file changed

Lines changed: 34 additions & 20 deletions

File tree

support/sql/releases/find-my-sql-version.md

Lines changed: 34 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,46 @@
11
---
2-
title: Determine the version and edition of SQL Server Database Engine
3-
description: This article describes the procedures to determine the version and edition of SQL Server Database Engine that is running.
4-
ms.date: 01/10/2025
2+
title: Find the Version and Edition of Your SQL Server Database Engine
3+
description: Learn how to find your the version and edition of your SQL Server Database Engine using methods like SSMS, error logs, T-SQL queries, and more.
4+
ms.date: 01/21/2025
55
ms.topic: how-to
66
ms.custom: sap:Installation, Patching, Upgrade, Uninstall
7-
ms.reviewer: v-six, jopilov
7+
ms.reviewer: jopilov, v-shaywood
88
---
99

1010
<!---Internal note: The screenshots in the article are being or were already updated. Please contact "gsprad" and "aartigoyle" for triage before making the further changes to the screenshots.
1111
--->
1212

1313
# Determine which version and edition of SQL Server Database Engine is running
1414

15-
This article describes the procedures to determine the version and edition of SQL Server Database Engine that is running.
16-
1715
_Original product version:_ &nbsp; SQL Server
1816
_Original KB number:_ &nbsp; 321185
1917

20-
To determine the version of SQL Server, you can use any of the following methods.
18+
## Summary
19+
20+
Knowing your SQL Server Database Engine version and edition is essential for troubleshooting, planning upgrades, and ensuring compatibility. This article explains several methods to determine this information, including SQL Server Management Studio (SSMS), error log files, T-SQL queries, and the SQL Server Installation Center.
2121

2222
> [!NOTE]
23-
> The version information follows the *major.minor.build.revision* pattern. The "revision" information is typically not used when checking the version of SQL Server.
23+
> The version information follows the `major.minor.build.revision` pattern. The "revision" information is typically not used when checking the version of SQL Server.
24+
25+
## Choose your method to determine version and edition
2426

25-
## Method 1: Connect to the server by using SQL Server Management Studio
27+
| Method | Best for | Requirements |
28+
| ------------------------------------------------------------------------------ | -------------------------- | --------------------------------- |
29+
| [Object Explorer (SSMS)](#use-object-explorer-in-sql-server-management-studio) | Quick visual check | SSMS installed, server connection |
30+
| [Errorlog file](#view-the-errorlog-file) | No connection needed | File system access |
31+
| [SELECT @@VERSION](#run-the-query-select-version) | Scripting and automation | Query access |
32+
| [SERVERPROPERTY](#use-the-serverproperty-function) | Individual property values | Query access |
33+
| [Discovery report](#use-the-installed-sql-server-features-discovery-report) | All instances on system | Local access only |
2634

27-
Connect to the server by using Object Explorer in [SQL Server Management Studio (SSMS)](/sql/ssms/sql-server-management-studio-ssms). Once connected, the version information will be displayed in parentheses, along with the username used to connect to the specific instance of SQL Server. For more information on how to connect to SQL Server using Object Explorer, see [Connect to a SQL Server or Azure SQL Database](/sql/ssms/object/connect-to-an-instance-from-object-explorer).
35+
## Use Object Explorer in SQL Server Management Studio
2836

29-
## Method 2: Look at the first few lines of the Errorlog file
37+
Connect to the server by using Object Explorer in [SQL Server Management Studio (SSMS)](/sql/ssms/sql-server-management-studio-ssms). Once connected, the version information will be displayed in parentheses, along with the username used to connect to the specific instance of SQL Server.
3038

31-
Look at the first few lines of the *Errorlog* file for that instance. By default, the error log is located at `Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG` in _ERRORLOG.n_ files. The entries may resemble the following one:
39+
For more information on how to connect to SQL Server using Object Explorer, see [Connect to a SQL Server or Azure SQL Database](/sql/ssms/object/connect-to-an-instance-from-object-explorer).
40+
41+
## View the Errorlog file
42+
43+
Look at the first few lines of the `Errorlog` file for that instance. By default, the error log is located at `Program Files\Microsoft SQL Server\MSSQL.n\MSSQL\LOG\ERRORLOG` in `ERRORLOG.n` files. The entries may resemble the following one:
3244

3345
```output
3446
2024-09-05 16:56:22.35 Server Microsoft SQL Server 2022 (RTM-CU14) (KB5038325) - 16.0.4135.4 (X64)
@@ -39,7 +51,7 @@ Developer Edition (64-bit) on Windows 11 Enterprise 10.0 <X64> (Build 22631: ) (
3951

4052
This entry provides information about the product, such as version, product level, 64-bit versus 32-bit, the edition of SQL Server, and the OS version on which SQL Server is running.
4153

42-
## Method 3: Look at the output after running the query "SELECT @@VERSION"
54+
## Run the query "SELECT @@VERSION"
4355

4456
Connect to the instance of SQL Server, and then run the following query:
4557

@@ -55,7 +67,7 @@ Microsoft SQL Server 2022 (RTM-CU14) (KB5038325) - 16.0.4135.4 (X64) Jul 10 20
5567

5668
From the output, you can determine the SQL Server product's version, service pack level, cumulative update level, or security update level (if applicable).
5769

58-
## Method 4: Use the SERVERPROPERTY function
70+
## Use the SERVERPROPERTY function
5971

6072
Connect to the instance of SQL Server, and then run the following query in [SSMS](/sql/ssms/sql-server-management-studio-ssms):
6173

@@ -71,9 +83,9 @@ The following results are returned:
7183

7284
For example, the results resemble the following.
7385

74-
|Product version|Product level|Edition|
75-
|---|---|---|
76-
| 16.0.4135.4|RTM| Developer Edition (64-bit) |
86+
| Product version | Product level | Edition |
87+
| --------------- | ------------- | -------------------------- |
88+
| 16.0.4135.4 | RTM | Developer Edition (64-bit) |
7789

7890
> [!NOTE]
7991
>
@@ -83,9 +95,11 @@ For example, the results resemble the following.
8395
>
8496
> - Starting with [SQL Server 2014 RTM Cumulative Update 10](https://support.microsoft.com/help/3094220) and [SQL Server 2014 Service Pack 1 Cumulative Update 3](https://support.microsoft.com/help/3094221), additional properties have been added to the `SERVERPROPERTY` statement. For a complete list, see [SERVERPROPERTY (Transact-SQL)](/sql/t-sql/functions/serverproperty-transact-sql).
8597
86-
## Method 5: Use the "Installed SQL Server features discovery report"
98+
## Use the "Installed SQL Server features discovery report"
99+
100+
You can find the **Installed SQL Server features discovery report** on the **Tools** page of the SQL Server Installation Center. This report provides information about all the instances of SQL Server that are installed on the system, including client tools such as SSMS. Note that this tool can be run locally only on the system where SQL Server is installed. It can't be used to obtain information about remote servers.
87101

88-
You can also use the **Installed SQL Server features discovery report**. You can find this report on the **Tools** page of the SQL Server Installation Center. This tool provides information about all the instances of SQL Server that are installed on the system, including client tools such as SSMS. Note that this tool can be run locally only on the system where SQL Server is installed. It can't be used to obtain information about remote servers. For more information, see [Validate a SQL Server Installation](/sql/database-engine/install-windows/validate-a-sql-server-installation).
102+
For more information, see [Validate a SQL Server Installation](/sql/database-engine/install-windows/validate-a-sql-server-installation).
89103

90104
A snapshot of a sample report is as follows:
91105

@@ -94,4 +108,4 @@ A snapshot of a sample report is as follows:
94108
## See also
95109

96110
- [Determine version information of SQL Server components and client tools](components-client-tools-versions.md)
97-
- [Latest updates and version history for SQL Server](download-and-install-latest-updates.md)
111+
- [Latest updates and version history for SQL Server](download-and-install-latest-updates.md)

0 commit comments

Comments
 (0)