Hi,
In the article at the below link, I need to know what is the purpose of SortKey in CTE.
In the hierarchy, will the Top level row is returned first??
(In our project we need only the top row - so it is important that the row returned is correct)
http://www.sqlservercentral.com/articles/Development/recursivequeriesinsqlserver2005/1760/
Please let me know.
Thanks,
KB
Thanks,
Santhosh
Human Knowledge Belongs To The World !!