• johnnycougar (2/25/2015)


    If I could get some assistance to figure out how to update this temporary table, I can handle the rest downstream.

    Not entirely true for what you need in 2008. It's not a difficult thing to do but we do need be very careful with how your temp table gets populated or how your permanent table gets updated. I need the information I asked for to help you do it right without blowing up the data in the process.

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