Cursors Without Performance Penalties

  • Should be fixed

  • David.Poole wrote:

    Don't get too comfortable Jeff.  SQL Server on Linux was also a Steve Jones classic April Fool

    Heh... I wasn't going to bring it up just for that reason. 😀  Instead of reading tea leaves, Steve stares at his Hawaiian shirt patterns and comes up with the damnedest predictions. 😀

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

  • latkinson wrote:

    Good one. But sometimes I wish there was a better row by row method available for those few times when there appears to be no other option.

    Luther

    jarick 15608 wrote:

    You got me too but it would be a good idea to make it act more like PL/SQL I see a few Oracle applications are migrating to MS SQL and it would make things easier.

    Dear Lord of SQL... Please forgive these individuals.  It's obvious they've been stricken with the virus and have become delusional from the fever.

    😀 😀 😀

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

  • Thanks for the smile, Steve! I will start refactoring now in hopes that it will come out soon... HAHA

  • From a lot of the code I've seen, no refactoring would be necessary. 😀

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

Viewing 5 posts - 16 through 19 (of 19 total)

You must be logged in to reply to this topic. Login to reply