Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sp_BlitzIndex statistics queries missing QUOTENAME in USE #3162

Merged
merged 1 commit into from
Dec 11, 2022

Conversation

jayholliday
Copy link
Contributor

Added missing "QUOTENAME" function around the "@Databasename" in the "USE" statement for the two statistics queries. Without it, DB names like 'my-stuff' will fail.

…"USE" statement for the two statistics queries. Without it, DB names like 'my-stuff' will fail.
Copy link
Member

@BrentOzar BrentOzar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request! Looks good. Merging into the dev branch, will be in the December release with credit to you in the release notes.

@BrentOzar BrentOzar merged commit 622a6d4 into BrentOzarULTD:dev Dec 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants