Skip to content

Commit 1f8dbbc

Browse files
committed
additional edits
1 parent 769f217 commit 1f8dbbc

1 file changed

Lines changed: 26 additions & 25 deletions

File tree

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
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
3+
description: Learn how to find 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/2026
55
ms.topic: how-to
66
ms.custom: sap:Installation, Patching, Upgrade, Uninstall
77
ms.reviewer: jopilov, v-shaywood
@@ -17,30 +17,30 @@ _Original KB number:_   321185
1717

1818
## Summary
1919

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.
20+
Knowing your SQL Server Database Engine version and edition is essential for troubleshooting, planning upgrades, and ensuring compatibility with other components. This article explains several methods to find this information, including SQL Server Management Studio (SSMS), error log files, T-SQL queries, and the SQL Server Installation Center.
2121

22-
> [!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.
22+
> [!NOTE]
23+
> The version information follows the `major.minor.build.revision` pattern. The _revision_ information typically isn't used when you check the SQL Server version.
2424
2525
## Choose your method to determine version and edition
2626

2727
| Method | Best for | Requirements |
2828
| ------------------------------------------------------------------------------ | -------------------------- | --------------------------------- |
2929
| [Object Explorer (SSMS)](#use-object-explorer-in-sql-server-management-studio) | Quick visual check | SSMS installed, server connection |
3030
| [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 |
31+
| [SELECT @@VERSION](#run-the-select-version-query) | Scripting and automation | Query access |
3232
| [SERVERPROPERTY](#use-the-serverproperty-function) | Individual property values | Query access |
3333
| [Discovery report](#use-the-installed-sql-server-features-discovery-report) | All instances on system | Local access only |
3434

3535
## Use Object Explorer in SQL Server Management Studio
3636

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.
37+
Connect to the server by using Object Explorer in [SQL Server Management Studio (SSMS)](/sql/ssms/sql-server-management-studio-ssms). After you connect, the version information appears in parentheses, along with the username that you used to connect to the specific instance of SQL Server.
3838

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).
39+
To learn how to connect to SQL Server by using Object Explorer, see [Connect to a SQL Server or Azure SQL Database](/sql/ssms/object/connect-to-an-instance-from-object-explorer).
4040

4141
## View the Errorlog file
4242

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:
43+
Check 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 might resemble the following example:
4444

4545
```output
4646
2024-09-05 16:56:22.35 Server Microsoft SQL Server 2022 (RTM-CU14) (KB5038325) - 16.0.4135.4 (X64)
@@ -49,63 +49,64 @@ Copyright (C) 2022 Microsoft Corporation
4949
Developer Edition (64-bit) on Windows 11 Enterprise 10.0 <X64> (Build 22631: ) (Hypervisor)
5050
```
5151

52-
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.
52+
This entry provides product information like version, product level, 64-bit versus 32-bit architecture, the SQL Server edition, and the operating system version that SQL Server runs on.
5353

54-
## Run the query "SELECT @@VERSION"
54+
## Run the SELECT @@VERSION query
5555

5656
Connect to the instance of SQL Server, and then run the following query:
5757

5858
```sql
5959
SELECT @@VERSION
6060
```
6161

62-
Here's an example of the output of this query:
62+
The following example shows the output of this query:
6363

6464
```output
6565
Microsoft SQL Server 2022 (RTM-CU14) (KB5038325) - 16.0.4135.4 (X64) Jul 10 2024 14:09:09 Copyright (C) 2022 Microsoft Corporation Developer Edition (64-bit) on Windows 11 Enterprise 10.0 <X64> (Build 22631: ) (Hypervisor)
6666
```
6767

68-
From the output, you can determine the SQL Server product's version, service pack level, cumulative update level, or security update level (if applicable).
68+
From the output, you can identify the SQL Server product version, [service pack](/troubleshoot/sql/releases/download-and-install-latest-updates#service-packs) level, [cumulative update](/troubleshoot/sql/releases/download-and-install-latest-updates#cumulative-updates) level, or [security update](/troubleshoot/sql/releases/download-and-install-latest-updates#security-updates) level (if applicable).
6969

7070
## Use the SERVERPROPERTY function
7171

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

7474
```sql
75-
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
75+
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY('productlevel'), SERVERPROPERTY('edition')
7676
```
7777

78-
The following results are returned:
78+
This query returns the following results:
7979

8080
- The product version (for example, 16.0.4135.4)
8181
- The product level (for example, RTM)
8282
- The edition (for example, Developer)
8383

84-
For example, the results resemble the following.
84+
For example, the results might look like this:
8585

8686
| Product version | Product level | Edition |
8787
| --------------- | ------------- | -------------------------- |
8888
| 16.0.4135.4 | RTM | Developer Edition (64-bit) |
8989

9090
> [!NOTE]
9191
>
92-
> - The `SERVERPROPERTY` function returns individual properties related to the version information, although the `@@VERSION` function combines the output into one string. If your application requires individual property strings, you can use the `SERVERPROPERTY` function to return them instead of parsing the `@@VERSION` results.
92+
> - The `SERVERPROPERTY` function returns individual properties related to version information, while the `@@VERSION` function combines the output into one string. If your application requires individual property strings, use the `SERVERPROPERTY` function to return them instead of parsing the `@@VERSION` results.
9393
>
94-
> - This method also works for SQL Azure Database instances. For more information, see [SERVERPROPERTY (Transact-SQL)](/sql/t-sql/functions/serverproperty-transact-sql).
94+
> - This method also works for [Azure SQL Database](/azure/azure-sql/database/sql-database-paas-overview) instances. For more information, see [SERVERPROPERTY (Transact-SQL)](/sql/t-sql/functions/serverproperty-transact-sql).
9595
>
96-
> - 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).
96+
> - 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), more properties were added to `SERVERPROPERTY`. For a complete list, see [SERVERPROPERTY (Transact-SQL)](/sql/t-sql/functions/serverproperty-transact-sql).
9797
98-
## Use the "Installed SQL Server features discovery report"
98+
## Use the Installed SQL Server features discovery report
9999

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.
100+
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 SQL Server instances installed on the system, including client tools like SSMS. This tool runs locally only on the system where SQL Server is installed. It can't get information about remote servers.
101101

102102
For more information, see [Validate a SQL Server Installation](/sql/database-engine/install-windows/validate-a-sql-server-installation).
103103

104-
A snapshot of a sample report is as follows:
104+
The following image shows a sample report:
105105

106-
:::image type="content" source="media/find-my-sql-version/sample-report.svg" alt-text="Screenshot shows a sample SQL Server 2016 Setup Discovery report." border="false":::
106+
:::image type="content" source="media/find-my-sql-version/sample-report.svg" alt-text="Screenshot that shows a sample SQL Server 2016 Setup Discovery report." border="false":::
107107

108-
## See also
108+
## Related content
109109

110110
- [Determine version information of SQL Server components and client tools](components-client-tools-versions.md)
111-
- [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)
112+
- [SQL Server installation guide](/sql/database-engine/install-windows/install-sql-server)

0 commit comments

Comments
 (0)