• Jeff Moden

    SSC Guru

    Points: 993639

    From the article...

    This was a major advance for T-SQL, but it didn't quite work out as well as Microsoft would have hoped.

    I'll beg to differ... it worked out just fine for M$ because they got to say they had functions in their product.  They didn't care about performance because, if they did, they'd have create iSF's (like they've recently done) instead of SFs and mTVFs.  I can't remember where I saw a comment in the M$ code but I do remember seeing reference to iSFs way back in 2005.

    --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.
    "If you think its expensive to hire a professional to do the job, wait until you hire an amateur."--Red Adair
    "Change is inevitable... change for the better is not."
    When you put the right degree of spin on it, the number 3|8 is also a glyph that describes the nature of a DBAs job. 😉

    Helpful Links:
    How to post code problems