• Anam Verma (9/7/2010)


    Paul,

    In the part1, you have mentioned about SELonJN operation, how it can be enabled?

    It will be really handly if you'll also post the changes you made to the indexes or query to achieve the better performing execution plans.

    I had the same problem when I first read Paul's series. The point to understand here is that Paul is not actually modifying the query in this first part... instead, he's actually enabling and disabling rules in SQL Server and running the same query. I'm thick... it took until part 4 for me to figure that out. 😉

    As he said, he'll get to how to do that later. I recommend that if you ever do that, you do it only on a test server. 🙂

    I also recommend keeping track of the parts of the series... when you read part 4, you'll be itching to start from the beginning again. :hehe:

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