Home Forums SQL Server 2005 Administering How to write Query on the Result Set of Another Query RE: How to write Query on the Result Set of Another Query

  • lrosini (10/11/2013)


    As Jeff showed there are many ways to do this. I only provided one possibility.

    I've been a silent observer on this site for along time and finally feel that I have some knowledge to begin offering solutions to some questions. 🙂

    Ver y cool. Welcome to the fun. 🙂

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