Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)

  • RE: Instrumenting Code

    It's Schroedinger's darn cat again - the moment you start testing (debugging) you interfere with the state and alter it 🙁

    I've so often watched people get it all working in...


    Regards
    Andy Davies

  • RE: Instrumenting Code

    Worked on something similar doing something similar.

    Lesson learned (while refactoring) was same as VB et al code - break 1 big in to parent with lots of smaller sections.

    When debugging...


    Regards
    Andy Davies

  • RE: Instrumenting Code

    There's always user-configurable events - something akin to the DebugOut in API calls...they sit there putting out info to anything that hooks in e.g. Profiler / DebugView.

    Used it before in...


    Regards
    Andy Davies

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    It's about trade-offs (the profit vs. time vs. cost triangle) and risk...if it does the job at hand...

    Start designing for every eventuality and it'll never get done.

    Sure there are a...


    Regards
    Andy Davies

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    FYI I've ONCE come across a cursor using MS's FOR UPDATE enhancement which was WAY faster than any other update method I tried (all 'best practices')...can't remember the details, but...


    Regards
    Andy Davies

  • RE: Solving the "Running Total" & "Ordinal Rank" Problems in SS 2k/2k5

    Watch out with those clustered indices...the order is NOT guaranteed to be the index order.

    There are a few cases - out of disk space is one I experienced, parallel query...


    Regards
    Andy Davies

  • RE: IT Transparency

    We (local council with 500+ permanent employees) had the same issues (our efforts were not visible + company vs. individual view) and solved it in the same manner - using...


    Regards
    Andy Davies

  • RE: The Backup Myth

    Nice one, Steve.

    The attitude to DR is scary sometime - one manager asked "why do we need all that - it's never failed before?" (grab brick wall, start banging head...).

    Personally...


    Regards
    Andy Davies

  • RE: Changing Career Gears

    Good points...and since IT is such a vaaaaast field (even a DBA job nowadays) it has happened to me over & over.

    Started as a Civil Engineer (those guys laying roads,...


    Regards
    Andy Davies

  • RE: Using Parameters with Stored Procedures

    Nice, except starting off with an example using the RETURN to return the answer - something I've seen too many programmers use because they don't understand its reason for existence...


    Regards
    Andy Davies

  • RE: Worst Practices - Part 1 of a Very Long Series!

    Nicely done, Andy - don't know where you get the time but it is appreciated!

    Seeing you mention the 'replace var name in a s/proc', your 'what about the numerous s/procs,...


    Regards
    Andy Davies

Viewing 11 posts - 1 through 11 (of 11 total)