• sjimmo (8/11/2016)


    Thanks Jeff. I was simply offering an alternative. Should have looked more closely at the dates. :hehe:

    Absolutely understood and alternatives are great. I appreciate your post even if it were on a decade old thread because methods change and alternatives are sometimes better. I'm just a wee bit ticked that the OP never came back on the questions at hand.

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