J
JJ
I am trying to set up a SQL table with associated stored procedures to be
able to have nested 'categories' to any depth.
I need to then be able to retrieve (or move or delete) a particular category
and its children (to a specified depth) and display it in a repeater (for
example). i.e.
category1
---category1 child
------categrory1 grandchild
category2
---category2 child
------category2 grandchild
There must be many of you that have done this. I have tried many different
attemps, but I suspect my lack of SQL knowledge may be the reason for my
failure.
I understand there is something called the adjacency list model .....??
Can anyone point me to any resources and offer any advice??
Many thanks,
JJ
able to have nested 'categories' to any depth.
I need to then be able to retrieve (or move or delete) a particular category
and its children (to a specified depth) and display it in a repeater (for
example). i.e.
category1
---category1 child
------categrory1 grandchild
category2
---category2 child
------category2 grandchild
There must be many of you that have done this. I have tried many different
attemps, but I suspect my lack of SQL knowledge may be the reason for my
failure.
I understand there is something called the adjacency list model .....??
Can anyone point me to any resources and offer any advice??
Many thanks,
JJ