• MMartin1 (5/23/2014)


    I would take a cursor over a triangular join if I was reporting on a running total in a columns. That's once instance.

    A fairly rare exception, indeed. Of course, I wouldn't use either even if I needed to work with something less than 2K12.

    --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)