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 - 2005-08-15 : 07:39:58
|
| KRISS writes "I have a table with these columns:-acctID-acctName-acctParIDit forms a hierachical structure by linking the acctParID-acctIDI need a way to search this table by "acctName" like this"select * from acct where acctName like '%test%'" but I want all the rows up in the hierachy from the resultset abovethat is the "path" from root.... how can I accomplish this?thank you for your time." |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
|
|
Seventhnight
Master Smack Fu Yak Hacker
2878 Posts |
Posted - 2005-08-16 : 12:44:20
|
and here...http://www.seventhnight.com/treestructs.aspCorey Co-worker on The Wizard of Oz "...those three midgets that came out and danced, the freaked me out when I was little. But they are ok now." |
 |
|
|
|
|
|