• Heh... at the very least, I'll go outside to have a smoke before I hit the "GO" button. Gives me time to think about whether I need to reword to be more politically correct or maybe even time to ask did I understand the problem correctly. It's especially important if you really want to crush someone's itty-bitty head because they said something in their email that was really stupid. 😛

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