Commit 60b3141
sp_BlitzLock: return helpful message on Azure SQL DB instead of error
Fixes #3892 - Azure SQL DB does not have the system_health XE session,
so sp_BlitzLock would raise a severity-11 error. Now returns a
severity-0 informational message with instructions for creating a
database-scoped deadlock XE session or using a table target.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3fafcb0 commit 60b3141
1 file changed
Lines changed: 25 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
570 | 570 | | |
571 | 571 | | |
572 | 572 | | |
573 | | - | |
574 | | - | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
575 | 598 | | |
576 | 599 | | |
577 | 600 | | |
| |||
0 commit comments