• tom.groszko (8/10/2010)


    With SQL2008 you do have the option of a table variable. I was using XML and found that the table variable provided all the flexibility but was much faster.

    Any chance of you posting some code that others can run to demonstrate that?

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