Forum Replies Created

Viewing 15 posts - 211 through 225 (of 238 total)

  • RE: Nested Temporary Tables

    Excellent question!

    I got it wrong on the strength of some tests I ran that gave me the 'Column name or number of supplied values does not match table definition.' error....


    Just because you're right doesn't mean everybody else is wrong.

  • RE: T-SQL

    shaycullen (12/15/2010)


    Yeah, but the question did ask for the "output" - SQL Server will append the 00:00:00.000 onto the end, so technically none of the answers are correct.

    SQL Server does...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Unique constraint on a nullable column

    Truly a good question because it provoked a lot of thought as to which techniques are possible, valid and practical.

    I got it "right" (yay!), but after reading the discussion I...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: sys.syscomments

    This is not a particularly very well designed question. What is a comment and what is the definition? I would say the comments inside an object are part of the...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: True or False

    Great question.

    But the version should have been specified. In SQL 2000 you can see the execution plan even for encrypted procs. Although that would probably have been a dead giveaway...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: More of computed columns

    Good question!

    I was pretty sure that the first create would fail since the operator ^ isn't described in BOL under arithmetic operators. It never occured to me that it could...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Incremental additions

    Oleg Netchaev (10/29/2010)


    Oh well, I lost a precious point on this one. The statement in question

    select @a =+ @b-2

    looked so ridiculous that it made me think that there were 2...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Incremental additions

    Carlo Romagnano (10/29/2010)


    I think the question author tried to confuse us with the syntax for compound operators

    I think the question author CONFUSED himself with the syntax for compound operators,...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Enable Broker Service

    I realized there was probably a 50% risk of getting it wrong which I did. :crying:

    Interestingly in BOL it wasn't specified whether assigning a new identifier with NEW_BROKER actually enabled...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Activity Monitor Permission

    Good question!

    Maybe I shouldn't admit it, but Activity Monitor is something I had completely missed. DOH!


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Are all rounds created equal

    Hugo Kornelis (10/13/2010)


    It is your client software that converts this to a character representation so that you can see it on your screen. The client software chooses to represent these...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Design

    MHilsher (9/24/2010)


    Rune,

    I've got some similar situations in a database that I'm working with and found that the alternative seems to be just as bad. We've created functions to get...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Design

    jeff.mason (9/24/2010)


    As far as NULLs go, I have to say NULL is a good thing for some DATE columns. If you have, say, a StartDate and an EndDate column,...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Design

    sjimmo (9/24/2010)


    Hugo Kornelis (9/24/2010)

    --------------------------------------------------------------------------------

    if the table is used in replication, ..., SQL Server requires that a surrogate key with the UNIQUEIDENTIFIER data type is also present in the table.

    I...


    Just because you're right doesn't mean everybody else is wrong.

  • RE: Design

    Hugo Kornelis (9/24/2010)


    The more I think about this, the more I disagree with the notion that multiple identifier columns is a design flaw.

    Agreed. And the SQL standards agree too, if...


    Just because you're right doesn't mean everybody else is wrong.

Viewing 15 posts - 211 through 225 (of 238 total)