Skip to content

Commit 732ac72

Browse files
v2.7.24
1 parent c5203ab commit 732ac72

8 files changed

Lines changed: 10 additions & 10 deletions

bin/dbatools-index.json

3.17 KB
Binary file not shown.

bin/diagnosticquery/SQLServerDiagnosticQueries_2016SP1.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
-- SQL Server 2016 Diagnostic Information Queries
33
-- Glenn Berry
4-
-- Last Modified: January 1, 2026
4+
-- Last Modified: February 2, 2026
55
-- https://glennsqlperformance.com/
66
-- https://sqlserverperformance.wordpress.com/
77
-- YouTube: https://bit.ly/2PkoAM1

bin/diagnosticquery/SQLServerDiagnosticQueries_2016SP2.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
-- SQL Server 2016 SP2 Diagnostic Information Queries
33
-- Glenn Berry
4-
-- Last Modified: January 1, 2026
4+
-- Last Modified: February 2, 2026
55
-- https://glennsqlperformance.com/
66
-- https://sqlserverperformance.wordpress.com/
77
-- YouTube: https://bit.ly/2PkoAM1
@@ -41,7 +41,7 @@
4141
--******************************************************************************
4242

4343
-- Check the major product version to see if it is SQL Server 2016 SP2 or greater
44-
IF EXISTS (SELECT * WHERE CONVERT(varchar(128), SERVERPROPERTY('ProductVersion')) LIKE '13%')
44+
IF EXISTS (SELECT * WHERE CONVERT(varchar(128), SERVERPROPERTY('ProductMajorVersion')) LIKE '13%')
4545
BEGIN
4646
IF CONVERT(int, SERVERPROPERTY('ProductBuild')) >= 5026
4747
PRINT N'You have the correct Service Pack of SQL Server 2016 for this diagnostic information script';

bin/diagnosticquery/SQLServerDiagnosticQueries_2017.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
-- SQL Server 2017 Diagnostic Information Queries
33
-- Glenn Berry
4-
-- Last Modified: January 1, 2026
4+
-- Last Modified: February 2, 2026
55
-- https://glennsqlperformance.com/
66
-- https://sqlserverperformance.wordpress.com/
77
-- YouTube: https://bit.ly/2PkoAM1
@@ -41,9 +41,9 @@
4141
--******************************************************************************
4242

4343
-- Check the major product version to see if it is SQL Server 2017 CTP 1 or greater
44-
IF NOT EXISTS (SELECT * WHERE CONVERT(varchar(128), SERVERPROPERTY('ProductVersion')) LIKE '14%')
44+
IF NOT EXISTS (SELECT * WHERE CONVERT(varchar(128), SERVERPROPERTY('ProductMajorVersion')) LIKE '14%')
4545
BEGIN
46-
DECLARE @ProductVersion varchar(128) = CONVERT(varchar(128), SERVERPROPERTY('ProductVersion'));
46+
DECLARE @ProductVersion varchar(128) = CONVERT(varchar(128), SERVERPROPERTY('ProductMajorVersion'));
4747
RAISERROR ('Script does not match the ProductVersion [%s] of this instance. Many of these queries may not work on this version.' , 18 , 16 , @ProductVersion);
4848
END
4949
ELSE

bin/diagnosticquery/SQLServerDiagnosticQueries_2019.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
-- SQL Server 2019 Diagnostic Information Queries
33
-- Glenn Berry
4-
-- Last Modified: January 1, 2026
4+
-- Last Modified: February 2, 2026
55
-- https://glennsqlperformance.com/
66
-- https://sqlserverperformance.wordpress.com/
77
-- YouTube: https://bit.ly/2PkoAM1

bin/diagnosticquery/SQLServerDiagnosticQueries_2022.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
-- SQL Server 2022 Diagnostic Information Queries
33
-- Glenn Berry
4-
-- Last Modified: January 29, 2026
4+
-- Last Modified: February 2, 2026
55
-- https://glennsqlperformance.com/
66
-- https://sqlserverperformance.wordpress.com/
77
-- YouTube: https://bit.ly/2PkoAM1

bin/diagnosticquery/SQLServerDiagnosticQueries_2025.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
-- SQL Server 2025 Diagnostic Information Queries
33
-- Glenn Berry
4-
-- Last Modified: January 29, 2026
4+
-- Last Modified: February 2, 2026
55
-- https://glennsqlperformance.com/
66
-- https://sqlserverperformance.wordpress.com/
77
-- YouTube: https://bit.ly/2PkoAM1

dbatools.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
RootModule = 'dbatools.psm1'
1212

1313
# Version number of this module.
14-
ModuleVersion = '2.7.23'
14+
ModuleVersion = '2.7.24'
1515

1616
# ID used to uniquely identify this module
1717
GUID = '9d139310-ce45-41ce-8e8b-d76335aa1789'

0 commit comments

Comments
 (0)