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 |
|
roxcy
Yak Posting Veteran
58 Posts |
Posted - 2007-11-08 : 01:56:11
|
| Hi, Please help me with this query.Following is my table structure.Table Name is MenuMenuId Text Desc ParentId1 Product List of Products null2 Applications Applications null3 Background ProductBackground 14 Details Product Details 15 Mob Device Mob Device 26 Poratl Portal Appl 2I would like to display menu only for product and its parent idie Product>>Background >>Details.Please help me with an appropriate solution..Thanks.. |
|
|
khtan
In (Som, Ni, Yak)
17689 Posts |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-11-08 : 03:13:37
|
Or why not use the new recursive cte approach described in SQL Server 2005 Books Online? E 12°55'05.25"N 56°04'39.16" |
 |
|
|
|
|
|