Viewing 5 posts - 1 through 5 (of 5 total)
I think it does return the ragged hierarchy like your example. It tooks 22ms (definitely less than 1s) to return 72 rows.
Screeshot here
or
https://docs.google.com/file/d/0B8BX62MoYSHGRjd3RWo2Q0pERFU/edit
January 14, 2013 at 4:14 pm
Oops, I should have say "I think this is a better way...." You can find your proof easily if you know copy and paste. But SQL newbie would have know...
January 13, 2013 at 10:23 pm
Hi someone ask me the same question: How to flatten a hierarchy self-referencing table, Google it and your thread and my first thought is Recursive CTE too, but then I'm...
January 12, 2013 at 2:17 pm
Thanks Peter, thats a really good advice and hopefully I can do that for another exam cause I almost run out of time for couple of the case study in...
January 8, 2009 at 10:41 am
Took & passed the exam this morning for almost 3 hours and I'm feeling REALLY exhausted right now. I passed it with 820 and wished MS can release the answer...
January 7, 2009 at 6:29 pm
Viewing 5 posts - 1 through 5 (of 5 total)