Forum Replies Created

Viewing 15 posts - 181 through 195 (of 233 total)

  • RE: SOUNDEX

    If SOUNDEX() as implemented in SQL Server was remotely useful outside of English-speaking countries I might care one way or the other. As it stands it's one of the quaint...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Using Max()

    Ford Fairlane (11/7/2013)


    Very good question - got caught out with as well. Should have realized that with out the where clause that each max() is evaluated individually... nice to learn...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: "NOT IN" Operator and Three Valued Logic

    Well, good question, but the correct alternative was a bit misleading. You don't get a zero back, you get an empty result set. That's a different answer.


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Behavior of trigger

    Nice job linking to the Russian language online docs...

    However, there is nothing in that text which says anything about whether ALTER TRIGGER affects the enable/disable state of the trigger.


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Tally Tables

    Hugo Kornelis (9/3/2013)


    sknox (9/3/2013)


    Wow.

    Nobody's mentioned what I consider to be the biggest problem with this question yet.

    You must have overlooked the things already mentioned about ordering by Rune Irvin, Terreador,...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Tally Tables

    Interesting. Those are somewhat different from the SQL 2012 plans. And goes to show that when something isn't documented it may very well change between releases without any formal notice.


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Tally Tables

    L' Eomot Inversé (9/3/2013)


    Rune Bivrin (9/3/2013)


    Just look at the execution plan and tell me if there is no difference.

    Or even try this, where NEWID() is completely eliminated from the second...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Tally Tables

    John Mitchell-245523 (9/3/2013)


    Rune Bivrin (9/3/2013)


    Just look at the execution plan and tell me if there is no difference.

    There's very little difference. On SQL Server 2008 R2 SP2, there was...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Tally Tables

    Just look at the execution plan and tell me if there is no difference.

    Or even try this, where NEWID() is completely eliminated from the second query.

    -- 1

    SELECT ROW_NUMBER() OVER (ORDER...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Clean Data

    Great question!

    I've never used DQS, but the correct answer just seemed the most logical.


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Return

    Got it. But to be precise there won't even be a result set. Not even one with zero rows.


    Just because you're right doesn't mean everybody else is wrong.

  • RE: GROUPING SETS - 1

    I did what any BI consultant would do: I stuffed the numbers into Excel and did a Power Pivot.


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Table Alias

    Hugo Kornelis (5/2/2013)


    However, to do some nitpicking:

    1. If I were to try this code on my system, I would get five errors. All system table (*) names are completely lowercase,...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Nested triggers 1

    tl;dr


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Coalesce and Conversion

    Well, the question is a good one, and I got it right, but if I see code like that I reach for the shot gun.


    Just because you're right doesn't mean everybody else is wrong.

Viewing 15 posts - 181 through 195 (of 233 total)