Forum Replies Created

Viewing 15 posts - 316 through 330 (of 458 total)

  • RE: Dating for DBAs - a second date

    Duncan, nice follow-up to your last question. I'm gratified? relieved? to see so many wrong answers, as I thought everyone else but me knew what Tibor Karaszi pointed out...

  • RE: Assign values: SET or SELECT

    Maybe I'm a bit late here, but I'll mention that I prefer to use SET over SELECT when assigning variable values that are fixed (and not the results of a...

  • RE: Length

    Peter Trast (4/10/2011)


    Is anyone still reading this post down to page 11? 😀

    No.

    😉

    Rich

  • RE: Length

    Was this a trick question designed to simulate the, ah, "impedance mismatch" between, say, developers and DBAs? (*sings* "You say NCHAR, I say NVARCHAR, let's call the whole thing...

  • RE: Very slow query (over 100 sec.) runs in no time with temp tables: why?

    Jeff Moden (4/7/2011)


    Haven't seen that actually work before without the use of the ol' FORCEORDER option. And, no... I don't use that option.

    Well, if I've stumped The Mighty Jeff,...

  • RE: Very slow query (over 100 sec.) runs in no time with temp tables: why?

    Thanks all for your help. I've fixed the problem and discovered something truly odd (to me anyway). Can someone explain this?

    I followed up on Craig's comment "Your nested...

  • RE: Very slow query (over 100 sec.) runs in no time with temp tables: why?

    GSquared (4/6/2011)


    I may be missing it, but I don't see all the index definitions that are being used in the execution plans.

    Sorry, GSquared, in my effort to simplify and make...

  • RE: Very slow query (over 100 sec.) runs in no time with temp tables: why?

    GSquared (4/6/2011)


    The first thing I'd do is eliminate DISTINCT in the sub-queries. It's completely unnecessary, and it costs CPU cycles at the very least. It is also probably...

  • RE: Today's Random Word!

    GilaMonster (3/28/2011)


    boredom

    Server Crash!

    Rich

  • RE: Today's Random Word!

    Peter Trast (4/6/2011)


    crookj (4/6/2011)


    Ray K (4/6/2011)


    Peter Trast (4/6/2011)


    Splendiferous

    Vociferous

    Bendiferous

    Joe

    Ferrous

    Wheel

    Rich

  • RE: Very slow query (over 100 sec.) runs in no time with temp tables: why?

    Craig Farrell (4/6/2011)


    There's nothing in those estimated plans that pop out and bite me... but they're estimates. My guess is there's a significant difference between estimated and actual. ...

  • RE: Dating for DBAs

    Duncan Pryde (4/6/2011)


    I'm glad people are liking the question - thanks for the positive comments everyone.

    I was motivated to come up with the question after following a discussion relating to...

  • RE: Data conversion

    I had always used the ANSI syntax thinking it was multilanguage, only to discover later that it wasn't. The reason I'd never noticed is probably that almost all our servers...

  • RE: Data conversion

    I had always used the ANSI syntax thinking it was multilanguage, only to discover later that it wasn't. The reason I'd never noticed is probably that almost all our servers...

  • RE: Data conversion

    Duncan Pryde (3/28/2011)


    rmechaber (3/28/2011)


    I'd still like to see someone try this out on a SQL 2000 box:

    SET LANGUAGE british

    SELECT CAST('2003-02-28' AS datetime)

    Similar error: "The conversion of a char data type...

Viewing 15 posts - 316 through 330 (of 458 total)