Home Forums SQL Server 2008 T-SQL (SS2K8) Rank duplicates, but only rows involved in duplicates RE: Rank duplicates, but only rows involved in duplicates

  • Eirikur Eiriksson (10/25/2014)


    Keep in mind, there's no such thing as a bad code (if it works), your efforts are as worthy as mine any given day, keep up the good work!

    😎

    I guess I'll have to take strong exception to that. I fix code that works everyday. Why does it need fixing? Many of the questions on this forum contain the answer to that very question. 😉

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