Forum Replies Created

Viewing 15 posts - 16 through 30 (of 48 total)

  • RE: Object binding

    Toreador (8/15/2013)


    Good question, though even if you didn't know the answer the "choose 4" hints should give it away - I guess the 50% (!) getting it wrong didn't notice...

  • RE: Return

    L' Eomot Inversé (7/17/2013)


    The reason that you can't use return with a value in a batch is that batches don't return scalar values, they return (possibly empty) result sets or...

  • RE: What will convert return?

    <sarcasm>

    I don't think I understand entirely how the explanation was wrong. Can someone else (or maybe 10 more people) please chime in and explain exactly what was so incorrect about...

  • RE: The US Holiday

    Lokesh Vij (7/3/2013)


    I thought this to be the easiest Qotd ever attempted. Wondering why so many wrong attempts!!

    Correct answers: 48% (11)

    Incorrect answers: 52% (12)

    Total attempts: 23

    I think a lot of people might have mistaken...

  • RE: Alias Usage

    ztoddw (6/27/2013)


    Those who assumed something from the title... remember when you assume what it makes out of "u" and "me"... 🙂

    Most of you also assumed that "running correctly" meant the...

  • RE: Alias Usage

    L' Eomot Inversé (6/17/2013)


    Richard Warr (6/17/2013)


    I wonder how 28 % got it wrong...

    As only 6% selected the wrong answer it must be down to not selecting three options. If you...

  • RE: IFF - 1

    Carlo Romagnano (6/7/2013)


    Primo Dang (6/6/2013)


    Seriously though, varchar(1) really doesn't make much sense to me, I guess char(1) would do the job perfectly and avoid the extra 2 byte overhead.

    I disagree...

  • RE: IFF - 1

    Mike Dougherty-384281 (6/6/2013)


    Why is this question about IIF broken because of the case sensitivity issue?

    What real code would ever use varchar(1)?

    Was the extra space in the varchar(4) field supposed...

  • RE: COALESCE

    SQLRNNR (6/5/2013)


    Wow - talk about DBCC Timewarp and some wormhole effect.

    Reason being that the same question was for June 3 and June 8. Answer one and both get ticked...

  • RE: COALESCE

    Does anyone know why this question now shows in the question list as Jul 8, 2013? Seems like this kind of thing happens occasionally here.

  • RE: Distinct

    Very good question, thank you Mr. Ocean!

    I didn't know about this behaviour, but giving it some thought before answering made me realize the right answer.

    Also, thank you Hugo for the...

  • RE: Identity Insert

    Mike Dougherty-384281 (5/3/2013)


    "a table which has one column with identity property"

    I read the question incorrectly as "a table with one column additional to the identity column"

    it's not an excuse; just...

  • RE: Handling NULL

    You can eliminate options 1 and 2 because they don't name the second result column as IsAvailable, as it is shown in the desired output.

    Of course, I wasn't sure if...

  • RE: Sum and Count

    John Mitchell-245523 (4/18/2013)


    To generalise, if you have n tables Table1, Table2, ... , Tablen where for each value of k Tablek has k rows populated with values 1,2,...,k:

    The COUNT is...

  • RE: DateTime data types

    Got it right by elimination. There is no way a NULL value would be converted to an actual date (as far as I know, at least), so that eliminates answer...

Viewing 15 posts - 16 through 30 (of 48 total)