Forum Replies Created

Viewing 15 posts - 391 through 405 (of 552 total)

  • RE: DATETIME - 3

    honza.mf (3/11/2013)


    wolfkillj (3/11/2013)


    I think Microsoft made its explanation of how the cutoff year functions more confusing by using the word "century". In my mind, and I suspect many others think...

  • RE: DATETIME - 3

    Thank you for the question. I got it right as I knew this. 🙂

    (and I was expecting to see this "2050-01-27" as one of the answers for value-2)

  • RE: ISNUMERIC

    well....i did it again......

    knowing the declaration without the size will default to 1 and at the time of cast/convert it defaults to 30.... and... me being dumbest of all the...

  • RE: Clustered Index

    Awesome put. Thank for posting very neatly.

    (i kind of had a catch that after disabling and the next statement it rebuilds.... so i assumed it might activate the index again......

  • RE: Can This Work?

    ashwani24 (2/28/2013)


    I guess answer is Yes as it compiled and executed successfully but sql server restricts for nested looping to 32 level so it fails after execution of 32 times.

    no...

  • RE: Can This Work?

    p.govindaraj (3/1/2013)


    Yes, It will create infinite loop but it will end with maximum nesting level on 32

    No it is not infinite loop, as you said it executes 32 times -...

  • RE: Can This Work?

    Simply nice, thank you for posting.

    got it wrong, i selected "yes", i cancelled the page transaction but it was too late... the answer got submitted.

    and couple of concerns

    1. The batch...

  • RE: Updating the data in a table

    demonfox (2/28/2013)


    yes.. and I think , it would be same as this one

    ...also significant improvement on the EP.

  • RE: Updating the data in a table

    Good one. :), thank you for posting. (very cute logic...)

    i manually iterated the update in mind and 5 OK, 6 OK 7 OK and then for last entry 4 i...

  • RE: OUTPUT - 1

    L' Eomot Inversé (2/27/2013)


    However, the default isn't Latin1_General_CI_AI, it's case insensitive. But it's accent sensitive - CI_AS

    actually... mine does. I am using the below version

    Microsoft SQL Server...

  • RE: OUTPUT - 1

    demonfox (2/27/2013)


    Kingston Dhasian (2/26/2013)


    handkot (2/26/2013)


    the answer is ambiguous and depends from collations

    I agree somewhat

    The answers will change if the database collation is case sensitive

    But, overall a very good question.

    Well, I...

  • RE: OUTPUT - 1

    Very interesting question, did not know until now... and I answered all correct with just mental work 🙂 and I can feel my confidence is somewhat kicking in back..

    (note :...

  • RE: Locking Hints

    Dineshbabu (2/21/2013)


    Nice and easy one. Initially I overlooked the word WTH and answered the question. After seeing the explaination only i realised it was mispelled and it will act as...

  • RE: Update with CASE statement

    demonfox (2/18/2013)


    zerko (2/18/2013)


    As it stands, the question is poorly phrased. Even if one part of the solution is clearly false, the boolean 'OR' operation makes the statement true if the...

  • RE: Alter User

    Interesting question, thank you for posting.

    Did not tried this before, so had really no idea , but bit search on offline BOL, was able to guess that opt-3 may be...

Viewing 15 posts - 391 through 405 (of 552 total)