Hugo Kornelis (10/15/2012)
At first sight, I thought this was a question to check whether indexed views can have their own statistics. I did not know that, so I set out to research that, and I thought this was a great question.
I would have preferred a question worded that way too. It checks the same knowledge and offers the same learning opportunity.
Than, I (luckily) doublechecked the question - and found that it is actually a question that tests my ability to read carefully, and to not fall victim to suggested information.
Same here - except I didn't spot the trap. People who know me may not be surprised to hear that I know manual and auto-statistics can be created on views (and why they are only used when the NOEXPAND hint is used), but still got this question 'wrong'. The same thing happened with the previous instalment in this series - I knew the correct SET options, but missed spotting the WITH SCHEMABINDING omission.
Ron has already submitted a lot of questions, and I have never seen him intentionally try to trick people, so I am sure that it was not his intention to make this a trick question either.
Perhaps - it is hard to know. My personal preference would be to make the questions completely free of 'trickery'.