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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Searching a node of a hierarchy

Author  Topic 

nickfinity
Yak Posting Veteran

55 Posts

Posted - 2003-02-18 : 22:18:06
Alright, alright, before I get flamed let me just say that I've looked at countless posts on this subject. I feel like I'm just missing something incredibly stupid, but maybe I'm not. I've got sort of the standard hierarchy setup - an ID, Name, and ParentID. It can go down any number of levels. I want to be able to do a search for a given top-level node where the name of a record any number of levels down is like something.

Is this easily possible? Maybe I'm just getting tired and should have quit working hours ago, but here's another beer hoping that it's easy.

Thanks,
Nick

ValterBorges
Master Smack Fu Yak Hacker

1429 Posts

Posted - 2003-02-18 : 22:35:07
Maybe this will help
http://www.intelligententerprise.com/001020/celko1_1.shtml

Go to Top of Page

jsmith8858
Dr. Cross Join

7423 Posts

Posted - 2003-02-19 : 12:52:51
Read through:

http://www.sqlteam.com/Forums/topic.asp?TOPIC_ID=22898

hopefully, the code I posted there can help you; be sure to read the whole thread, though, there's good info in there.

- Jeff
Go to Top of Page
   

- Advertisement -