Forum Replies Created

Viewing 15 posts - 2,851 through 2,865 (of 4,080 total)

  • RE: Are the posted questions getting worse?

    Lynn, I may need to borrow a sand dune. Our man with the concurrency question still won't accept that SQL will handle his potential-double-insert fears, even after...

    __________________________________________________

    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: Concurrency Question

    Conditional or not, an INSERT is an INSERT. Look at the code I just sent you and think about it for a moment. Using...

    __________________________________________________

    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: Performance implications of writing to tempdb all the time

    Dean, I recently saw a query where the developer used a temp table to break something down into steps. The result was to run at least...

    __________________________________________________

    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: Performance implications of writing to tempdb all the time

    Typically I try to make things happen in a single query, trying for a single pass through the table(s). If it doesn't seem to be running very fast,...

    __________________________________________________

    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: Performance implications of writing to tempdb all the time

    Another this is, is it good development practice to always select distinct from a table, as my feeling is that, if the table is properly normalized, structured and free...

    __________________________________________________

    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: Concurrency Question

    Jamie, are you thinking that you have to somehow code the locks yourself?

    __________________________________________________

    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: Concurrency Question

    That is incorrect. Look at this. You can start a transaction explicity and leave it hanging in session 1, then go to session 2 and...

    __________________________________________________

    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: top row number within partition

    Obviously, neither did I. But that's worth remembering. Thanks, Mark!

    However, it seems the two CTE approach runs a little faster with a larger number of...

    __________________________________________________

    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?

    Indexing as in indexes on the database tables to make searches against the tables efficient so they don't cause massive locking and very slow queries. No app can provide 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: Concurrency Question

    Just for fun... Don't ask if you can insert before you can insert. In situations where you actually expect the insert to succeed most of the time,...

    __________________________________________________

    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: Elegance and speed needed in place of this janky code

    There isn't a native one, but why not write one? To solve your DATEDIFF issue, I actually think you want the greater value. It can be made...

    __________________________________________________

    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?

    If you want a weird programming language, look at Whitespace.

    Is that band still touring? I thought they broke up.

    __________________________________________________

    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?

    You really are a ninja, Gus!

    __________________________________________________

    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?

    ...and GSquared is invisible ???

    __________________________________________________

    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?

    But do you look like your avatar, Roy?

    P.S. It's good to see you back online. I can't remember if I said that earlier.

    __________________________________________________

    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 - 2,851 through 2,865 (of 4,080 total)