Forum Replies Created

Viewing 15 posts - 541 through 555 (of 656 total)

  • RE: What will the results be for the code below?

    Good question and I learnt something 🙂

    I wonder how many of those who got it right (70% at the moment) did so without running the script first!

  • RE: Date Puzzle

    Fortuntely I was fibbing and we actually convert to proper dates before passing to SQLServer 🙂

  • RE: Date Puzzle

    Hugo Kornelis (10/27/2010)


    For the datetime data type, The only formats that are guaranteed to work correctly in all circumstances are:

    * yyyymmdd - for dates without time portion. No dashes. dots,...

  • RE: Color coding

    honza.mf (10/15/2010)


    Do you like to obtain point without thinking?

    Not at all.

    But the answer as given doesn't depends on SQL, but on how you interpret the phrase "the status bar". ...

  • RE: Color coding

    Pedantic trickery at its worst!

    "the status bar in SQL Server 2008 Management Studio" does not clearly state that it means the one in the main window rather than the one...

  • RE: Are all rounds created equal

    I got this right because we've been bitten by the same thing with VB6, which also uses bankers rounding. We had to write our own rounding method to get it...

  • RE: Variable Array Table

    What a bizarre question!

  • RE: Clustered Indexes

    Hugo Kornelis (10/5/2010)


    After answering, I was shocked to see a score of only 39% (at that time) correct answers. Almost half the people (48%, to be precise) apparently STILL think...

  • RE: Creating indexes on computed columns

    "Me too" on the incorrect options stuff.

    But in any case, 1 point is a bit mean for a 4-checkbox multiselect question

  • RE: Fun with IDENTITY - Part I

    edit - replied to the wrong topic!

  • RE: ISNUMERIC

    Hugo Kornelis (9/27/2010)

    That all being said, I completely fail to see the acutal use of a function that tells me that a string value "is either a number or its...

  • RE: ISNUMERIC

    tommyh (9/27/2010)


    True but atleast 1 and 1 are both numeric both in and out off context. Wheras "e" is only valid under some circumstances. With "11" you can do any...

  • RE: Design

    da-zero (9/24/2010)


    I got it wrong, because I don't think having columns that allow NULLs are per definition a desing flaw.

    I agree, in fact I'd go further and say that a...

  • RE: Design

    Rune Bivrin (9/24/2010)


    most of the time it doesn't matter why it's empty because all that's done with the contents is display it in reports and dialog boxes. In those cases...

  • RE: Design

    Rune Bivrin (9/24/2010)


    However, looking the table in the question I'd probably remove the NULL-ability on the cell phone numbers. Nullable VARCHAR often doesn't make sense. Particularly when they are entered...

Viewing 15 posts - 541 through 555 (of 656 total)