• Chris.Strolia-Davis (10/13/2008)


    All I am saying is that I don't see you actually using @SumA or @SumB in this query. They were declared, but don't seem to have been used. If you comment out that line altogether, it changes nothing ... that I'm aware of ;).

    Doh! You are quite right.

    When I re-read the QotD text, I thought that maybe it had been editorially modified as I *did* use them in my earlier playing, assigning SUM(Num%) to the @Sum% variables. Maybe they'd changed things.

    But no; I've checked my draft pre-submission, and the editors are not to blame.

    Mea culpa.

    Please don't tell my daughter. I take great delight in proofreading her work and finding mistakes (she works for a brochure publishing company). Sadly, it seems that I am capable of making mistakes, too. Soon I'll be into double figures this century 😉

    Regards

    brewmanz