With Breadcrumb( id, parentid, description) as
(
SELECT id, parentid, Description
FROM RadMenu
--where parentid IS NOT NULL
)
select parentid, id, description
from breadcrumb
order by parentid
Here's some of the data, filtered to show 1 example:
id parentid Description
57 NULL Adaptors
74 57 CompactFlash to IDE
75 57 CompactFlash to SATA
76 57 PCMCIA to CompactFlash
978 57 CFast to SATA
275 74 IDE to 1 CompactFlash Slot
525 74 IDE to 2 CompactFlash Slots
555 74 IDE to 1 CompactFlash Slot
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Expert of the Year award recognizes an expert who helped improve Experts Exchange in the past year through high levels of contributions and participation on site. This award is given to the expert who has achieved the highest levels of participation, while maintaining quality contributions and professionalism.
The Expert of the Year award recognizes an expert who helped improve Experts Exchange in the past year through high levels of contributions and participation on site. This award is given to the expert who has achieved the highest levels of participation, while maintaining quality contributions and professionalism.