Commit b82a318
sp_Blitz: address PR review feedback
Three fixes from the PR review:
1. Pass @suppress_quotename = 1 to every sp_ineachdb call. sp_ineachdb's
default quotes the replacement (QUOTENAME'd [mydb]), which combined
with sp_Blitz's sp_MSforeachdb-style USE [?] and [?].schema.object
patterns would produce malformed identifiers like USE [[mydb]] on
box SQL. @suppress_quotename = 1 substitutes the bare name and
matches sp_MSforeachdb's behavior exactly.
2. README note that sp_Blitz now requires sp_ineachdb, with install
ordering guidance for users installing scripts individually.
3. Build Installation Scripts.ps1 now places sp_ineachdb.sql ahead of
sp_Blitz in the generated Install-All-Scripts.sql, so the dependency
is installed before any proc that calls it.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent fd850b5 commit b82a318
3 files changed
Lines changed: 54 additions & 44 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
156 | | - | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
157 | 165 | | |
158 | 166 | | |
159 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| |||
0 commit comments