sp_Blitz - Fix wording for Trace Flag checks that are dependent on @CheckUserDatabaseObjects #3716
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.
This adds additional context to the checks for Trace Flags 834, 7745 and 7752 that have messages dependent on
@CheckUserDatabasesObjects = 1(Or that and@BringThePain = 1for database counts over 50).I discovered this when running
sp_Blitz @CheckUserDatabaseObjects = 1and I forgot to specify@BringThePain = 1That even when you run just
sp_Blitzwith no parameters, you could end up with Trace Flag 7745 telling you that no databases have query store enabled even if you do (Because the @QueryStoreInUse check can't run).Looking at the code, it seemed the same issue would be possible for T834 and T7752.