Forum Replies Created

Viewing 15 posts - 1,501 through 1,515 (of 3,348 total)

  • RE: Running Out Of Foreign Keys

    Thanks for the question, Andy!

    However ... " (for once!)" - I resent that! 😉

    I laughed when I read (in the generic maximum capacity specifications link): "the recommended maximum is 253...

  • RE: Hash Match

    robert.diley (5/14/2014)


    I do have a text in front of me: Fritchey, Grant (2012) SQL Server Execution Plans, 2nd ed.

    From p. 88:

    "we can discuss the Hash Match join operator.

    It occurs when...

  • RE: Removing Memory-optimized tables

    Hmmm, I did get it right but I didn't really like the question. Or rather, the answer options; the question itself is great.

    I'd say that both "drop the DB" and...

  • RE: Datatypes In Your Mind

    Fun story, nice question - shame about the sloppy execution.

    I found myself in that position where I have to second-guess the question author. I knew it was either tinyint or...

  • RE: DDL Trigger for Drop_Table

    TomThomson (5/4/2014)


    If you use that code to try to create the trigger, the trigger will do nothing - the code is syntactically incorrect because the create trigger statement is not...

  • RE: DDL Trigger for Drop_Table

    Great question, Mounika. Thanks!

    The design choice to make DDL triggers fire after the event has many consequences. This question points out one (and one that can be very easy to...

  • RE: Hash Match

    gbritton1 (5/1/2014)


    Before I answered this question, I read

    It reads, in part:

    The hash join has two inputs: the build input and probe input. The query optimizer assigns these roles so that...

  • RE: Keeping my cardinality

    I know this is nitpicking, but "change the database compatibility level to 110" is not really a correct answer. The question mentions upgrading, and the uograde process will not change...

  • RE: SQL Server port

    I never had to do this, but I still managed to zoom in on the right answer. Probably something I read or heard somewhere, sometime.

    For people who prefer a link...

  • RE: Calculate the Running Total for the last five Transactions

    That works for positive numbers > 0. If numbers can also be negative or 0, you can use this formula:

    CASE

    WHEN MIN(ABS(Value)) = 0 THEN 0

    ELSE EXP(SUM(LOG(ABS(NULLIF(Value,0)))))...

  • RE: GO-ING nowhere

    Just for the record - GO is not a statement, it is a batch separator. It will be intercepted and handled by the client. Send a "GO" to SQL Server,...

  • RE: What is (Null='Hello') in Sql Server

    db4breakfast (4/6/2014)


    Hi Hugo,

    I just want to double check my understanding about NULL. Please explain more why NULL does not mean "Unknown". I thought that NULL mark represents missing or unknown...

  • RE: TABLESAMPLE output

    pmadhavapeddi22 (4/3/2014)


    But i really dont understand one thing, tablesample is expecting 4 rows to return, but the result set is totally different, that too on different execution, the purpose of...

  • RE: A Questionable Trigger

    TomThomson (4/3/2014)


    I think maybe I'm reverting to terminology that has changed since I learnt it, I have a feeling that when I first saw the term "heap" it meant "unindexed...

  • RE: A Questionable Trigger

    TomThomson (4/3/2014)


    You see an index seek on a heap? Good heavens, has the worl changed totally while i wasn't looking?

    This has been possible since at least SQL 7.0, probably...

Viewing 15 posts - 1,501 through 1,515 (of 3,348 total)