The 2012+ query used SELECT ... INTO #system_health, a write to tempdb. One SELECT with ROW_NUMBER() now returns the deadlock rows and the newest row (the read position) in the same pass. SQL Scripts and the read-only test no longer allow any exception. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| SqlScriptSources.cs | ||
| SqlScriptTests.cs | ||