Skip to content

Updates_20260201 - February 1 Release#660

Merged
erikdarlingdata merged 15 commits intomainfrom
dev
Jan 27, 2026
Merged

Updates_20260201 - February 1 Release#660
erikdarlingdata merged 15 commits intomainfrom
dev

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

Version Updates

Procedure Version
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

Test plan

  • Verify version numbers display correctly with @help = 1
  • Test sp_PressureDetector @troubleshoot_blocking parameter
  • Confirm sp_QuickieStore decimal parsing works correctly

🤖 Generated with Claude Code

erikdarlingdata and others added 15 commits January 11, 2026 17:43
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"
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>
@erikdarlingdata erikdarlingdata merged commit 83a0173 into main Jan 27, 2026
1 check passed
@erikdarlingdata erikdarlingdata self-assigned this Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants