Forum Replies Created

Viewing 15 posts - 121 through 135 (of 163 total)

  • RE: Intersect

    (*) I only have SQL Server 2008 R2 with SP1 installed, so I can't reproduce the bug. Maybe someone who does have an older version with the bug still in...

  • RE: Out of order

    Carlo Romagnano (10/21/2011)


    CREATE VIEW vw_clients AS

    SELECT TOP 100 PERCENT Code, Name FROM Clients

    ORDER BY Code

    I am curious to know if the VIEW above always returns records in sorted order.

    As...

  • RE: Exists

    I didn't like the "explanation".

    What I am missing is the real explanation why the sub query in the EXISTS doesn't result in an error.

    It actually matters what is in...

  • RE: That case filter

    murray-906152 (7/19/2011)


    I think that this question is ambiguous and should be withdrawn.

    There is NO query returning zero rows in the question.

    There is one insert statement yielding five rows affected.

    You might...

  • RE: Execution plans

    Gianluca Sartori (6/28/2011)


    Steve, thanks for the good question. As usual, I got it wrong. 😛

    Let me ask one question: this page on MSDN states that:

    Server execution plans have the...

  • RE: SQL Script to check SQL Server cluster Nodes.

    I would like to know why option 2 is not correct.

    Apparently more options are correct, and looking at the future, this should even be the preferred option.

  • RE: Subtle Line Feed / Carriage Return issue

    Carlo Romagnano (12/23/2010)

    If you get 1,2,3,4

    that means that in the script you do not report single line comments.

    The script in @sql looks like this:

    PRINT 2 is joined to...

  • RE: To switch or not to switch

    Looking at the percentage of incorrect results, and the percentages per answer, I wonder if people missed the "in" in "incorrect" in the question.

  • RE: Are all rounds created equal

    Wrong!

    SQL Server will return a result set that consists of two columns (both datatype numeric(3,2)), and one row. The values in this row are 2.5 and 3.6. (Or 2.50 and...

  • RE: Are all rounds created equal

    My opinion is that none of the answers is correct.

    SQL Server will return 2.50 and 3.60, not 2.5 and 3.6.

  • RE: How many Records Will Get Selected

    If the question was aiming at showing what the behaviour is of having "GO" in a batch, then it would have made sense to add the answer "The select statement...

  • RE: How many Records Will Get Selected

    Quite a waste of time trying to answer this question.

    Lesson learned here should be: How NOT to write a QotD!

  • RE: Stored Procedure Execution

    forjonathanwilson (6/8/2010)


    Nailed it, because I assumed that "person" was not me. If I were "person" the answer would have been 5.

    Or if the default schema of the user executing it...

  • RE: SSMS - feature

    I also have to press Ctrl + left mouse button in order to open the link.

    I don't see a pop-up either.

  • RE: Answers to Your QOD

    How can the community be responsible for the answers if they/we don't have the means to decide on changing the answers?

    The submitter posts the question with answers, which will make...

Viewing 15 posts - 121 through 135 (of 163 total)