Forum Replies Created

Viewing 15 posts - 466 through 480 (of 4,080 total)

  • RE: Finding a substring and extracting a number associated with it

    You're welcome, Quentin.

    I apologize for not posting a link to delimitedsplit8k. It is a tool which should be in everyone's toolkit. ...

    __________________________________________________

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

  • RE: Decreasing a value across multiple rows until 0

    Just did some quick reading. Didn't find a LAG solution, but windowed functions are awesome for this.

    In the OPs problem at hand, we need something other than ID...

    __________________________________________________

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

  • RE: Decreasing a value across multiple rows until 0

    Hey Jeff. I've never done that, but then I don't usually have to do running totals in SQL. Going to go read up on that...

    __________________________________________________

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

  • RE: Finding a substring and extracting a number associated with it

    WARNING WARNING WARNING: You MUST get your inputs standardized. You are at risk until then.

    That said. This was a fun problem, and the...

    __________________________________________________

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

  • RE: Decreasing a value across multiple rows until 0

    Fine with me. Here is some reading for anyone else who wanders along.

    Solving the Running Total and Ordinal Rank Problems (Rewritten) by Jeff Moden

    (I'm oddly unable to...

    __________________________________________________

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

  • RE: Getting result set from two tables without null values when using join

    What column(s) are you using for your Full Outer Join?

    Given the sample data below, it seems obvious that the join should be on the [Eno] column.

    A join on...

    __________________________________________________

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

  • RE: Decreasing a value across multiple rows until 0

    Hey JL: You have two groups of IDs. What result are you expecting?

    __________________________________________________

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

  • RE: Decreasing a value across multiple rows until 0

    This is a variation on the running totals problem.

    The logic is that 100 is subtracted from the first value, 50 is subtracted from the second value, and 25 from the...

    __________________________________________________

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

  • RE: Find value is prim or not

    Withdrawn for unforgivably not seeing Luis' answer and writing the same thing myself. :w00t:

    __________________________________________________

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

  • RE: Are the posted questions getting worse?

    TomThomson (6/24/2016)


    Ed Wagner (6/22/2016)


    jasona.work (6/22/2016)


    TomThomson (6/22/2016)


    jasona.work (6/22/2016)


    /me leans back, marveling at what happens when you toss a crystal into a supersaturated solution...

    Sounds like the next couple weeks / months are...

    __________________________________________________

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

  • RE: Are the posted questions getting worse?

    I would also like to apply for citizenship to the island.

    Be sure it has coconut palms. I think the Professor on Gilligan's Island had...

    __________________________________________________

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

  • RE: Are the posted questions getting worse?

    I'm not sure I can beat that one for redundundundancy, but I'm reading through a client app written in COBOL that apparently does a call to the database to get...

    __________________________________________________

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

  • RE: A Case FOR Cursors...

    Without using specific examples to test, it is hard to explain why set-based processing outperforms cursor-based code. Logging certainly plays a part as does the frequency of posting...

    __________________________________________________

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

  • RE: Fast Data Loading with Partition Switching Strategy

    You've got it right that partition switching doesn't physically move the partitioned data. It simply changes pointers that define which table the partitioned data is owned by. ...

    __________________________________________________

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

  • RE: Are the posted questions getting worse?

    Alvin Ramard (7/31/2015)


    Luis Cazares (7/31/2015)


    WayneS (7/31/2015)


    Looks like Luis is answering Oracle questions now.

    That wasn't the only attempt on that day. Here's a completely lost Oracle user.

    But hey, as long as...

    __________________________________________________

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

Viewing 15 posts - 466 through 480 (of 4,080 total)