• npyata (5/2/2013)


    it working fine now. Let me work on other steps. Thanks to everyone who suggested the code improvement.

    Now the BIG question is, since you're the one that will have to support the code in the future, do you actually understand exactly how the codes works and why?

    Do you also understand that the word "Cursor" should not be a part of your code 99.99% of the time?

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