Got a table of with an ID column and a ParentID column. The ParentID column
of a record points to the ID of another record. They can form chains
several records deep.
Is there any particularly good way to retrieve a table containing a list of
crumbs in the breadcrumb trail, in sequence?
If at all possible, I'd like to do it with a single database query. I know
this probably isn't feasible, but I'd love it if anyone happens to know a
way to do it!
Thanks,
James
of a record points to the ID of another record. They can form chains
several records deep.
Is there any particularly good way to retrieve a table containing a list of
crumbs in the breadcrumb trail, in sequence?
If at all possible, I'd like to do it with a single database query. I know
this probably isn't feasible, but I'd love it if anyone happens to know a
way to do it!
Thanks,
James
Comment