Skip to content

Commit 0e3be2f

Browse files
committed
#3655 sp_Blitz add 2025 dsc
Adds preview_features database_scoped_configuration. Closes #3655.
1 parent 2385da1 commit 0e3be2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sp_Blitz.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7829,7 +7829,8 @@ IF @ProductVersionMajor >= 10
78297829
(42, 'OPTIMIZED_SP_EXECUTESQL', '0', NULL, 267),
78307830
(43, 'OPTIMIZED_HALLOWEEN_PROTECTION', '1', NULL, 267),
78317831
(44, 'FULLTEXT_INDEX_VERSION', '2', NULL, 267),
7832-
(47, 'OPTIONAL_PARAMETER_OPTIMIZATION', '1', NULL, 267);
7832+
(47, 'OPTIONAL_PARAMETER_OPTIMIZATION', '1', NULL, 267),
7833+
(48, 'PREVIEW_FEATURES', '0', NULL, 267);
78337834

78347835
EXEC dbo.sp_MSforeachdb 'USE [?]; SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED; INSERT INTO #BlitzResults (CheckID, DatabaseName, Priority, FindingsGroup, Finding, URL, Details)
78357836
SELECT def1.CheckID, DB_NAME(), 210, ''Non-Default Database Scoped Config'', dsc.[name], ''https://www.brentozar.com/go/dbscope'', (''Set value: '' + COALESCE(CAST(dsc.value AS NVARCHAR(100)),''Empty'') + '' Default: '' + COALESCE(CAST(def1.default_value AS NVARCHAR(100)),''Empty'') + '' Set value for secondary: '' + COALESCE(CAST(dsc.value_for_secondary AS NVARCHAR(100)),''Empty'') + '' Default value for secondary: '' + COALESCE(CAST(def1.default_value_for_secondary AS NVARCHAR(100)),''Empty''))

0 commit comments

Comments
 (0)