Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: SQL-Server
i m doing 1 website for multilevel marketing
there concept is if A add two person B on left and c on right then A will get commission. only if both his side that is left and right member are added else on commission.
And if B have added 2 person on his left and right B will get commission but A will get commission until C's Left and Right members are added.
this process goes on.. so i want to write store procedure for it so that A will get commission when B and C childs are added. Please Help
Posted 9-Nov-12 20:46pm
shanalalkasim at 10-Nov-12 2:56am
Provide your table structure

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Guruprasad.K.Basavaraju 450
1 Sergey Alexandrovich Kryukov 325
2 Shai Vashdi 318
3 OriginalGriff 265
4 Peter Leow 171
0 Sergey Alexandrovich Kryukov 9,109
1 OriginalGriff 5,290
2 Peter Leow 4,010
3 Maciej Los 3,535
4 Abhinav S 3,263

Advertise | Privacy | Mobile
Web02 | 2.8.140415.2 | Last Updated 10 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid