Forum Replies Created

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

  • 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...

  • 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.

  • 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.

  • 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,...

  • 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.

  • 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...

  • 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...

  • 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...

  • RE: Clean Data

    Great question!

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

  • RE: Return

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

  • RE: GROUPING SETS - 1

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

  • 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,...

  • RE: Nested triggers 1

    tl;dr

  • 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.

  • RE: Queries

    That was ...

    ... interesting:rolleyes:

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