• Peter Schulz-485500 (11/17/2013)


    Jeff - yes I can put the FROM Addresses in the query, but it doesn't

    change the behaviour. It also should not.

    I'll solve the problem by rewriting. It still bugs me why on earth this

    seemingly innocent code just overnight decided to mess up?

    Thanks for the feedback, Peter. It was a shot in the dark from successes for slightly similar problems where such things go crazy on their own.

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