Updates_20260201 - February 1 Release#660
Merged
erikdarlingdata merged 15 commits intomainfrom Jan 27, 2026
Merged
Conversation
Adds a minimal blocking troubleshooter facility to this as a standalone query.
Replace TRY_PARSE(... AS money) with TRY_PARSE(... AS decimal(19,2) f…
sp_HealthParser - Removed * 8 from memory grant KB columns (was double-converting) - Fixed @wait_duration_ms ISNULL default - datetime → datetime2 sp_HumanEvents - Fixed Azure stopped sessions restart logic (INNER → LEFT JOIN) - Added Azure support to cleanup section - Division by zero protection in query stats - datetime → datetime2, INT → integer sp_HumanEventsBlockViewer - Fixed Azure event file DMV and type mismatch - Fixed column name mismatch in system health section - Standardized date literals to '19000101' sp_IndexCleanup - Fixed help section showing wrong defaults - Removed dead LEFT JOIN to dm_db_index_usage_stats - Added Standard Edition to @supports_optimize_for_sequential_key check - @@rowcount → ROWCOUNT_BIG(), integer → bigint where needed sp_LogHunter - @t_searches integer → bigint - Typo fix: "substitions" - Removed pointless @Stopper variable sp_PerfCheck - @processors was never initialized - @physical_memory_gb used before assignment - Operator precedence bug in trace event date filtering - Wrong variable in debug print, duplicate check_id sp_PressureDetector - sys.dm_exec_query_statistics_xml takes session_id, not plan_handle - Division by zero in perfmon counters - Missing comma in table definition - Duplicate HTREINIT CASE removed sp_QueryReproBuilder - Added SQL 2017+ version check for wait stats - Ported wildcard procedure filtering from sp_QuickieStore - Added @isolation_level to 7 dynamic SQL blocks sp_QuickieStore - RAISERROR had parameters in wrong order - Debug output had duplicate column name - Added @isolation_level to 4 expert mode queries - COUNT → COUNT_BIG, int → integer, EXEC → EXECUTE - Typo: "want do you want"
…Legacy Defaults (issue #658)
…Legacy Defaults (issue #658)
Refine ANSI Settings Check Logic to Align with Modern Best Practices (Fixes #658)
- Fix LIKE pattern escaping: add _ and % escaping to key column comparisons - Add missing ESCAPE clause to line 3477 LIKE pattern - Fix unique constraint handling: use DROP CONSTRAINT instead of NOCHECK (unique constraints cannot be disabled) - Fix Rule 6 multiple subsets merge: use temp table to correctly merge includes from all subsets pointing to the same superset - Fix partition scheme reference: use built_on (scheme name) instead of partition_function_name in MERGE script ON clause
Updated all 9 procedures: - sp_HealthParser 3.2 - sp_HumanEvents 7.2 - sp_HumanEventsBlockViewer 5.2 - sp_IndexCleanup 2.2 - sp_LogHunter 3.2 - sp_PerfCheck 2.2 - sp_PressureDetector 6.2 - sp_QueryReproBuilder 1.2 - sp_QuickieStore 6.2 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@troubleshoot_blockingparameter for blocking chain analysis, fixed duplicate HTREINIT checkTRY_PARSE(... AS money)withTRY_PARSE(... AS decimal(19,2))(sp_QuickieStore : ORDER BY uses TRY_PARSE(... AS money) on formatted strings — safer to use decimal(19,2) for multi‑locale robustness #656)Version Updates
Test plan
@help = 1@troubleshoot_blockingparameter🤖 Generated with Claude Code