Skip to content

SQL Server Version & Patch Overview

0. Overview MetricsSQL Server

UID: sql_server_version_patch_overviewVersion: 1.3.1 Panels: 4 Datasource: MSSQL

Purpose

This dashboard shows version and update information for all monitored SQL Server instances, including:

  • Build number installed
  • Patch level (CU, SP, SU)
  • Release date of the current version
  • Support status from Microsoft
  • Update status and recommendations

This panel helps track compliance with recommended updates and identify servers that require maintenance or upgrades.

Variables

This dashboard does not use variables. It shows information for all monitored instances.

Color Codes

ColorCodeMeaning
Green#00db88Correct - Updated
Magenta#ad21d8e8To Check - Update available
Red#F2495CWrong - Urgent action required

Panels

SQL Versions

SQL Versions barchart

Number of instances using each SQL Server version.

Interpretation

This chart allows you to quickly visualize the distribution of SQL Server versions in your infrastructure. It is useful for:

  • Identifying obsolete versions
  • Planning migrations
  • Evaluating environment homogeneity

Detailed Versions

Detailed Versions table

Detailed table with complete version information per server.

Table columns:

ColumnDescription
Server NameServer/instance name
Server BuildCurrent installed build
Full NameFull version name
Current Release DateRelease date of current version
Max BuildMost recent available build
Support End DateEnd of support date
SupportedSupport status (Supported/Not Supported)
Build StatusUpdate status

Build Status state mapping:

StatusColorMeaning
UpdatedGreenVersion is up to date
Pending Security UpdateMagentaPending security update
Available UpdateMagentaCU update available
Available Update - Bugged AG VersionMagentaVersion with known AG bug
Pending CU and SUMagentaCU and SU pending

Supported state mapping:

StatusColorMeaning
SupportedGreenWithin support period
Not SupportedMagentaOutside Microsoft support

Update Criteria

To achieve the "Updated" (green) status, the following criteria must be met:

During regular support period:

  • Have the latest CU (Cumulative Update) installed with a maximum age of 2 months

During extended support period:

  • Have the latest SU (Security Update) installed with a maximum age of 2 weeks

Interpretation Guide

Update Priorities

Build StatusPriorityAction
Updated-No action required
Pending Security UpdateHighPlan immediate update
Available Update - Bugged AG VersionHighUpdate to fix AG bug
Available UpdateMediumPlan update
Pending CU and SUMediumPlan maintenance window

SQL Server Version Lifecycle

PhaseAvailable UpdatesRecommendation
Mainstream supportCUs + SUsApply CUs every 2-3 months
Extended supportSUs onlyApply SUs immediately
Out of supportNoneMigrate to supported version

Out of Support

Servers marked as "Not Supported" do not receive security updates from Microsoft and represent a significant security risk. Migration to a supported version should be planned.


Stored Procedures Used

ProcedureDescription
[Home].[spCheckInstanceUpdatedExtended]Returns detailed version and update status information

Tables/Views Used

ObjectDescription
[dbo].[hc_instance_configuration]Instance configuration with version information

Recommendations

Patching Best Practices

  1. Maintain an update schedule: Review available updates monthly
  2. Prioritize security updates: SUs should be applied as soon as possible
  3. Test in development environments: Before applying in production
  4. Document versions: Maintain a record of update history

Migration Planning

For servers without support or with very old versions:

  1. Evaluate application requirements
  2. Identify compatibility changes
  3. Plan migration to LTS (Long-Term Support) version
  4. Consider SQL Server 2019 or 2022 as the target