Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Self Joins...
Message
From
07/02/2000 15:22:53
 
 
To
06/02/2000 23:25:03
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
00328133
Message ID:
00328442
Views:
20
Mike,

It looks like you're doing a tree traversal. SQL in general is not very good at it. Tree traversals are inheirently (sp?) record oriented while SQL works in sets. In SQL For Smarties, Joe Celko has a solution that I've used in the past but it requires a pre-order traveral of the tree first. You might want to check that out.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform