• And with that and the fact that I've seen many people try to do the same thing, I guess now would be a great time to ask...

    ... what's wrong with using stored procedures, etc, instead of all this saving of scripts either in a file or in a table? It just doesn't make sense to me to do such a thing.

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