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

Add check for filtered indexes missing filter definition columns #1881

Merged
merged 2 commits into from Dec 11, 2018

Conversation

Projects
None yet
1 participant
@BlitzErik
Copy link
Contributor

BlitzErik commented Dec 9, 2018

Add check for filtered indexes missing filter definition columns

Closes #1880

Changes proposed in this pull request:

  • Add check for filtered indexes missing filter definition columns

How to test this code:

  • Create an index like this CREATE INDEX ix_whatever_filtered ON dbo.Users (Reputation) WHERE UpVotes > 0 AND DownVotes > 0; and it should get picked up.

Has been tested on (remove any that don't apply):

  • Case-sensitive SQL Server instance
  • SQL Server 2016
  • SQL Server 2017
Add check for filtered...
Indexes missing filter definition columns

Closes #1880
Seeing double
Don't need two of this check.

@BlitzErik BlitzErik merged commit 79426b0 into dev Dec 11, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment