Combine data rows getting fields from seperate rows in a query

  • Bob Hovious (3/31/2009)


    Flo, I think you have a winner. I don't believe I can improve on that in a single query, since I had begun a similar approach before being distracted by a minor crisis at work. However, the execution plan indicates that it is going to do three separate scans of the the input table. We'll just have to see how it runs against production volumes.

    If unsatisfactory, it might be possible to improve by breaking it into steps, but I don't want to go there if a single query will get the job done.

    Good morning Bob! (it's 7:15 AM here)

    I hope you resolved your issues...

    Have a nice day/night

    Flo

  • Good morning, Flo!

    I slept well, thanks. Hope your day has been a good one.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • Bob and Flo,

    I finally found time to run this against our test system and it works like a perfect.

    THANKS!!!

  • You're welcome, gnethery, and thanks for taking the time to tell us it works for you.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • Thank your for the feedback!

    Greets

    Flo

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

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