The other factor to look at is how the execution plans compare. The main part of the work is very similar in those 2 statements. When you're doing you comparison try these as well for the heck of it:Select b.pathID, b.path, b.[level]From Paths aJOIN Paths b ON a.PathID = 5953 and b.Path like a.Path + '%'order by b.pathidSelect b.pathID, b.path, b.[level]From Paths aJOIN Paths b ON a.PathID = 5953 and a.Path = substring(b.Path, 1, len(a.Path))order by b.pathid
Be One with the OptimizerTG