• Spikemarks (3/11/2009)


    I have tweeked the code and have put it inside a cursor which should read the first 3 chars and then change to which ever it should be.

    Once I have tested etc I will post for other people to use.

    Beer in post!

    Heh... now why would you mess up some nice set based code with a cursor? 😉

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