The missing index DMVs are great but they’ve always been missing something.
What are they missing you ask? They currently tell you what table they are for but not what query. How do I know if the queries that sponsored this missing index are business critical or not? Wouldn’t it be nice to know what statements caused this “missing index” to appear?
Read on to learn how to do this.