Forum Replies Created

Viewing 15 posts - 1,591 through 1,605 (of 8,416 total)

  • RE: Are the posted questions getting worse?

    Jack Corbett (11/4/2011)


    I would think that judicious use of temp tables/table variables would have less impact on tempdb than snapshot isolation since everything is going to use the version store...

  • RE: Collation and SQL_VARIANT

    Hugo Kornelis (11/2/2011)


    michael.kaufmann (11/2/2011)


    Hm, do you have an explanation why the following code will return the exact same result? :crazy:

    My guess would be that your server has a default collation...

  • RE: Collation and SQL_VARIANT

    Britt Cluff (11/1/2011)


    Wow, did I have to think on this one. Thanks for the interesting question.

    Me too - and I wrote the thing (a month or so ago).

  • RE: Collation and SQL_VARIANT

    L' Eomot Inversé (11/1/2011)


    Excellent question.

    I wonder if there's another on sql_variant in the pipleline?

    Not at this stage, at least not by me. I was going to do one based...

  • RE: Collation and SQL_VARIANT

    call.copse (11/1/2011)


    I occassionally use an EAV type thing for very limited cases (storing central control variables that may vary by territory say) - is SQL_VARIANT a good move for storing...

  • RE: Collation and SQL_VARIANT

    Hugo Kornelis (11/1/2011)


    Great question, Paul!!

    Your production code will likely be more careful with these issues.

    Can I interpret this as "Your production code will likely completely avoid the use of SQLVariant"?

    (Okay,...

  • RE: Query Plan Execution Order

    Hugo Kornelis (10/27/2011)


    Good question, Paul!

    I had the correct answer,but only thanks to the fact that I attended SQL Saturday in Portland a few weeks back (just before the PASS Summit)....

  • RE: Query Plan Execution Order

    Michael Lysons (10/27/2011)


    And, more importantly, congrats on winning the Webb Ellis, SQL Kiwi!

    Still celebrating here!

  • RE: Query Plan Execution Order

    Gianluca Sartori (10/27/2011)


    Great question, Paul, and great explanation.

    Looks like you tricked most of us (myself included).

    Thanks, but I want to say that I really really really didn't set out to...

  • RE: Query Plan Execution Order

    tommyh (10/27/2011)


    Going to stick my neck out and say that its wrong.

    Yes the stream aggregate gets called first... but it hasnt finished. So is the important part which gets...

  • RE: Are the posted questions getting worse?

    Fal (10/23/2011)


    Ah bugger. New Zealand won the Rugby Union World Cup. A certain someone is gonna be absolutely intolerable now. 😛

    I will be, once (or if) I...

  • RE: Understanding and Using APPLY (Part 1)

    jared-709193 (10/18/2011)


    A question that I have is... Is there a performance reason to use or not use a TVF (by this I mean one that uses CREATE FUNCTION versus a...

  • RE: Are the posted questions getting worse?

    Brandie Tarvin (10/17/2011)


    Paul,

    Have you turned into a zombie and not warned the rest of The Thread? I'm looking at your avatar and wondering if I should pull out my Zombiepocalypse...

  • RE: Are the posted questions getting worse?

    SQL Kiwi (10/17/2011)


    One thing you might like to look at, to eliminate that eager spool: http://blogs.msdn.com/b/sqlqueryprocessing/archive/2008/09/22/distinct-aggregation-considered-harmful.aspx

    Just remembered: there's an optimizer improvement in Denali SQL Server 2012 RC0 (not in CTP3)...

  • RE: Are the posted questions getting worse?

    Ninja's_RGR'us (10/17/2011)


    Well if you insist on going down that road, the estimated execution count is also off by 3.5X. That alone is OK, but combined with another 3X error...

Viewing 15 posts - 1,591 through 1,605 (of 8,416 total)