|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
SQL Server 2000 - How to store and retrive data in SQL in Binary tree structure
I have to implement MLM (Multi level marketing) database like a binary tree. Each node can invite 2 other members.
The problem is that how to view the child nodes of each nodes till 12th level....also the member_id is auto generated 16-digit alphanumeric value. I had seen many web portals but dint got the exact solution... Kindly help me out...... |
|
#2
|
|||
|
|||
|
Search for Recursive CTE in books online and you will get method for getting child nodes recursively upto level you want.
And if in SQL 2000 use this http://support.microsoft.com/kb/248915 |
|
#3
|
|||
|
|||
|
Retrival of sub tree from binary tree till 12th level.
But the problem with me is that i want to retrive all the user_name and user_level form any selected node in a tree till 12th level...its like Multi level marketing....
i would be thankfull to you if you also provide me help to retrive these using C#.net. Thanks in dvance..... |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > SQL Server 2000 - How to store and retrive data in SQL in Binary tree structure |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|