Forum Replies Created

Viewing 15 posts - 1 through 15 (of 29 total)

  • RE: Deleting 4000 different records from a table with where and conditions on each row.

    You should be able to replace your "select *" with a delete command. See below.

    begin tran

    delete from PD7333.F980351 WHERE VRPDI ='R590012' AND VRVERS = 'DETEST01';

    -- commit

    -- rollback

    After you have verified...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Would You Like a Stay Interview?

    That's a great idea, as long as the criticism is honest (sometimes brutally honest) but constructive and as long the manager is actually receptive and opened to the feedback given...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: How Do You Handle the Stress of Being a DBA?

    How to handle the stress? Not sure... but my way of dealing with it is: "keep things in perspective". I am not saying I take my job lightly. In fact,...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Being Supportive

    Agreed with Steve about avoiding the blaming game and being supportive of each other regardless of where the issue comes from. But I have to also agree with IceDread concerning...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: A New Beginning

    I am there with some of the other comments: performance tuning skills (reading Grant Fritchey's paper), build better monitoring scripts (and find a nice way to display them to my...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Twas the Night Before Christmas - SQL Style

    Very nice writing skills. Bravo!

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: The Balance of Resources

    Thank you Scott. I appreciate the feedback and perspective.

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: The Balance of Resources

    I work for a very small company that almost did not make it through the recession. We went down from about 20 developers, a full team of business analysts, architects...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Case when... in()?

    That's perfect. Thank you very much.

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Help with SQL algorithm to process transactions

    Lutz,

    This looks perfect! I will make sure in the future to try listing all possible scenarios so that the community can test them all. I really love the fact that...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Help with SQL algorithm to process transactions

    Lutz,

    I understand your concerns. I ran the original script you posted with the following set of transactions and found some issues related to transactions showing up in the table even...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Help with SQL algorithm to process transactions

    First of all, I wanted to thank all of you for the help. I reused the original portion of the script posted by Lutz in my real life project but...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Help with SQL algorithm to process transactions

    Lutz,

    I just wanted to clarify the terminology of the comments column, which purpose was simply informational and not to be used in the actual process.

    > fully used: means that the...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Help with SQL algorithm to process transactions

    Thanks to all of you for the replies. I had a busy father's day weekend but I will look at the post as soon as I can. Thanks again.

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

  • RE: Processing Sales Data against Bundles, Best strategy?

    I modified the code sample. I had forgotten about the amount column in the bundle group table, which is the reward amount allocated when a bundle match is found. The...

    "Any fool can write code that a computer can understand. Good programmers write
    code that humans can understand." -Martin Fowler et al, Refactoring: Improving the Design of Existing Code, 1999

Viewing 15 posts - 1 through 15 (of 29 total)