SanDroid (8/30/2011)
Thank you Tom.It was your reply to my comments that inspired me to write this question.
So I would call it inspiration before plagerism. 😉
This question is based on one posted before.
http://www.sqlservercentral.com/questions/T-SQL/64301/
The example scripts, and the answer, are not the same.:cool:
The important difference, I think, is that in your version the answer is right while in the previous version the answer was wrong. :smooooth:
Tom