Forum Replies Created

Viewing 15 posts - 3,451 through 3,465 (of 7,484 total)

  • RE: COALESCE

    sknox (6/3/2013)


    Good question! I would clarify the answer a little bit, though:

    ... the result returns the data type of the expression with the highest data type precedence.

    should probably be

    ...

  • RE: What normal form would this be considered? 2NF or 3NF?

    Golfer22 (6/2/2013)


    Lets say I have a table with four columns named PersonID1, PersonID2, JobTitle, and PreviousJobTitle. There is a composite primary key on PersonID1 and PersonID2. In all...

  • RE: COALESCE

    I vastly prefer this to the previous QOTD. It's straightforward, nice clear and accurate explanation, and doesn't make my brain hurt.

  • RE: GROUPING SETS - 1

    Hugo Kornelis (5/31/2013)


    I don't get it.

    I did get it, in the sense that I think I .understood the tortuous misuse of the English language in the formulation of the question....

  • RE: Are the posted questions getting worse?

    Jack Corbett (5/31/2013)


    Have I mentioned these 2 things lately:

    1. I can't stand ORM tools and the queries they create

    2. I can't stand when developers create databases...

  • RE: Are the posted questions getting worse?

    The Dixie Flatline (5/30/2013)


    GilaMonster (5/30/2013)


    I just delete that kind of thing outright, long with the 'Answer my posted question', 'explain life, the universe and everything to me' and other such...

  • RE: TOP clause WITH TIES

    That's a fun question.

    But maybe there will be complaints from some who think QotD should test only knowledge and not reasoning (except perhaps very trivial reasoning).

  • RE: Use of Key Column

    Hugo Kornelis (5/29/2013)[hrHowever, I would definitely also explore the option of using a checksum instead of a substring as the first quick test. And if I were a gambler, I...

  • RE: Use of Key Column

    Hugo Kornelis (5/28/2013)


    L' Eomot Inversé (5/28/2013)


    There is indeed a rule that no column with type nvarchar(max), varchar(max) or varbinary(max) can be used in index keys. However, it isn't documented...

  • RE: SELECT INTO FILESTREAM

    Nice question.

    Dineshbabu (5/29/2013)


    I don't have idea about filestream but i'm sure other than IDENTITY property no other attributes will be copied to new table. So i guessed it should be...

  • RE: Use of Key Column

    Definitely an interesting one.

    The question is fine and the "correct" answer is correct, but the reference is not helpful because it explicitly states that an index where the maximum...

  • RE: Stopped working but not thinking!!

    S Hodkinson (5/28/2013)


    Well it may have been quiet for some but not me! Leaving aside various family stuff, my previous employers have called me back in about 4 times...

  • RE: Using case statement in where clause to fetch rows whose column values are null

    Lucy08 (5/27/2013)


    Hi,

    I need to fetch rows from a table in SP depending on input parameter value.

    @var is an input parameter which i am passing

    if @var = no owner assigned'...

  • RE: SSMS Error Message

    zerko (5/27/2013)


    But surely, since ALL of us ALWAYS screen-lock our computers when we are not physically present, and the error message required someone else to type it into the SSMS...

  • RE: SSMS Error Message

    Hugo Kornelis (5/27/2013)[hr.Nice question! I was surprised that it's not in the "fun" category, nor worth seven points - that was what I expected when I saw the question.

    Yes, very...

Viewing 15 posts - 3,451 through 3,465 (of 7,484 total)