Kenneth Wymore (9/19/2011)
I, like some others, got the question right for the wrong reason. I focused on the date declaration in the parameters and only caught the renaming of the sub-query columns after I had chosen the correct answer. Interesting behavior in regards to aliasing this way. Thanks for the question, I learned something new today!
Good to hear and glad you learned.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events