• Very Nice article.  Covered a lot of ground and it's a pleasure to actually see commented formatted code.  I've seen a method to write to text files using linked servers through the use of a file called Schema.ini (I think that's what it's called).  Sure would be nice to see a follow-up article on that.

    Like someone said before me, "Thanks for sharing your research!"

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