Need help to split Data

  • Jeff Moden (1/1/2014)


    Sean Lange (12/20/2013)


    Last name is "Camps" so possessive would be Camps' 😀

    Doh!!! Sorry about getting your name wrong. :blush:

    Dwain must have been "camping out" just waiting for you to make that mistake. I know, I know... you've both had mo-den enough of those kinds of jokes. 😛

    At least no one has yet commented on how some of my solutions should be flushed down the "Drain."

    Happy New Year Jeff! And to all others on this thread as well.


    My mantra: No loops! No CURSORs! No RBAR! Hoo-uh![/I]

    My thought question: Have you ever been told that your query runs too fast?

    My advice:
    INDEXing a poor-performing query is like putting sugar on cat food. Yeah, it probably tastes better but are you sure you want to eat it?
    The path of least resistance can be a slippery slope. Take care that fixing your fixes of fixes doesn't snowball and end up costing you more than fixing the root cause would have in the first place.

    Need to UNPIVOT? Why not CROSS APPLY VALUES instead?[/url]
    Since random numbers are too important to be left to chance, let's generate some![/url]
    Learn to understand recursive CTEs by example.[/url]
    [url url=http://www.sqlservercentral.com/articles/St

  • dwain.c (1/1/2014)


    Jeff Moden (1/1/2014)


    Sean Lange (12/20/2013)


    Last name is "Camps" so possessive would be Camps' 😀

    Doh!!! Sorry about getting your name wrong. :blush:

    Dwain must have been "camping out" just waiting for you to make that mistake. I know, I know... you've both had mo-den enough of those kinds of jokes. 😛

    At least no one has yet commented on how some of my solutions should be flushed down the "Drain."

    Happy New Year Jeff! And to all others on this thread as well.

    East is East and West is West and the Dwain shall never meet. 😛

    Actually, that's pretty close to accurate. We're so far apart that there's little chance of meeting in person.

    Happy New Year, ol' friend.

    --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)
    Intro to Tally Tables and Functions

Viewing 2 posts - 16 through 16 (of 16 total)

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