Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-01-12 : 09:03:38
|
Wilfred writes "Hello!
I have a table that has a circular reference to itself (structure: Folder_Id, Folder_Name, Parent_Folder), and given a folder_id, I'd like to be able to trace back to the root (all its parent folders). We would normally want to find the child nodes, given a node, but I'd like to do the reverse. Can we do this with a single SQL Statement? Please advise. Thanks for all your help, and have a Great Day...God Bless!
Wil." |
|
|
|
|
|