• Dave Ballantyne (12/31/2012)


    Jeff Moden (12/31/2012)


    The fly in the ointment, of course, will be the non-unique leaf levels.

    Indeed there are

    ->-> VP Dev Dept

    ->->-> Team Lead Team1

    ->->->-> Senior Dev

    ->->-> Team Lead Team2

    ->->->-> Senior Dev

    So the rhetorical question is, how do we tell that "Senior Dev" reports to "Team Lead Team 1" or "Team Lead Team 2" or 3,4,5 etc ?

    Answer is we cant.

    A parent/child hierarchy is the simplest way to introduce this relationship , and will be extensible once teams 4,5,6 are created and when cleaners and tea makers are also introduced into the mix 🙂

    Absolutely correct on all points.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)