Forum Replies Created

Viewing 15 posts - 46 through 60 (of 522 total)

  • RE: CHOOSE - 1

    bitbucket-25253 (1/29/2013)


    davoscollective

    A lot of people are complaining about not having SQL Server 2012 or Adventureworks on production machines. I have a test/dev VM with SQL Server 2012 SP1 and both...

    Best Regards,

    Chris Büttner

  • RE: CHOOSE - 1

    mtassin (1/28/2013)


    Christian Buettner-167247 (1/28/2013)


    Don't have AdventureWorks either... 🙁

    You know, google and 5 minutes of download time and you can get it... MS puts it up on Codeplex for you

    Thank you...

    Best Regards,

    Chris Büttner

  • RE: CHOOSE - 1

    Don't have AdventureWorks either... 🙁

    Best Regards,

    Chris Büttner

  • RE: UNIQUE constraint

    Oh my, why is this question still wrong in January?!? 🙁

    Best Regards,

    Chris Büttner

  • RE: Divide by zero

    Hugo Kornelis (12/23/2012)


    While hunting for this information, I did find a few Connect items about errors with WHEN (something that's never true) THEN MIN(1/0) or WHEN (something that's always true)...

    Best Regards,

    Chris Büttner

  • RE: Santa's List

    OK, I hate to start nitpicking, but the correct answer is missing:

    For 7 rows you definitively need NO index to improve performance 😛

    Best Regards,

    Chris Büttner

  • RE: TSQL 2012 #1

    I too would have liked an explanation for the purpose of "FOR BROWSE" in relation to that DMV.

    At the moment the new "knowledge" about this DMV is useless, without knowing...

    Best Regards,

    Chris Büttner

  • RE: PARSE 1

    L' Eomot Inversé (12/17/2012)


    Mosty a good question, apart from the awful misprint - the table would not be created unless that was corrected!

    To all those talking about select being atomic:...

    Best Regards,

    Chris Büttner

  • RE: PARSE 1

    JoseACJr (12/17/2012)


    Hi,

    Select #2 Returns 2 rows ???

    I don´t think so..

    Error converting string value '2013DEC32 00:00:00' into data type datetime using culture ''.

    I was also quite surprised to see this answer...

    Best Regards,

    Chris Büttner

  • RE: Thanksgiving 2012

    Good question, but the explanation is not helpful... Where is the BOL link for this?!?

    I don't want mess up dinner because the function doesn't work as expected...

    Best Regards,

    Chris Büttner

  • RE: COALESCE - 2

    Raghavendra Mudugal (11/9/2012)


    Msg 4127, Level 16, State 1, Line 8

    At least one of the arguments to COALESCE must be an expression that is not the NULL constant.

    .. possibly just missing...

    Best Regards,

    Chris Büttner

  • RE: COALESCE - 2

    Good question, but wrong explanation (and also wrong error message from SQL Server):

    The coalesce expects at least one typed NULL in order to execute and hence the error.

    Simple example that...

    Best Regards,

    Chris Büttner

  • RE: Enable Database Mail in 2012

    It would be new to me that sp_configure is an extended stored procedure.

    I think it is just a normal system stored procedure.

    But still a good question:)

    Best Regards,

    Chris Büttner

  • RE: Why doesn’t ISNUMERIC work correctly? (SQL Spackle)

    Lisa Slater Nicholls (9/14/2012)


    ronmoses (9/14/2012)


    Rather than parsing the string, how about attempting to CAST the string in a TRY...CATCH block and return a pass/fail value on that basis?

    ron

    The problem here...

    Best Regards,

    Chris Büttner

  • RE: Why doesn’t ISNUMERIC work correctly? (SQL Spackle)

    I think this "could" be solved using a CLR function that tries to cast the value to each acceptable numeric data type, but I never did CLR.

    Unfortunately you cannot do...

    Best Regards,

    Chris Büttner

Viewing 15 posts - 46 through 60 (of 522 total)