Thursday, November 21, 2024
SQL Server Build Versions

How to find SQL Server version

How to find the installed version of SQL Server. This query will give us the required version information of the sql server instance.

Select SERVERPROPERTY('MachineName') 'Hostname',SERVERPROPERTY('InstanceName') 'SQLInstanceName',left(@@version, CHARINDEX('(', @@version)-1) 'SQLProduct',SERVERPROPERTY('Edition')'Edition',SERVERPROPERTY('ProductLevel')'ProductLevel',SERVERPROPERTY('ProductVersion')'ProductVersion'

Sample Output

SQL Server version query output

Find SQL Server Build Versions for all SQL Server products, click here SQL Server Build Versions Detailed

Back To Top
error: Content is protected !!