Forum Replies Created

Viewing 15 posts - 1,921 through 1,935 (of 3,348 total)

  • RE: Divide by zero

    Hi Tom,

    You are right that there are indeed some issues with CASE. And I may not have remembered them all correctly. First, let's skip all older versions of the documentation...

  • RE: Divide by zero

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


    Good question.

    But the explanation, as it refers to nullif and to view5, is a bit of a mess - it appears to say that view5 will always...

  • RE: Divide by zero

    I have to offer my apologies for this question. I don't know what went wrong. I always check my question, answers and explanation several times before submitting, but I don't...

  • RE: UNIQUE constraint

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


    I greatly wish that a large number of people would pile in and downvote...

  • RE: UNIQUE constraint

    While I agree that the wording of the question is debatable (I chose my reply, and then was hoping I had second-guess the author's intention right), I also want to...

  • RE: What will the max id be?

    palotaiarpad (12/19/2012)


    Could someone please explain, why is the identity resetted after a truncate?

    Because conceptually, TRUNCATE TABLE is closer to DROP / CREATE than to DELETE.

  • RE: PARSE 1

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


    Of course this does point up another flaw in the question: the answer assumes that the select statement traverses the rows in a particular order; that is...

  • RE: SET Options - 1

    Rich Weissler (12/14/2012)


    Great question.

    But, okay... I give up, how does having an indexed view cause a loss of precision?

    (I.e. Yep, I see the error. I don't understand WHY. ...

  • RE: IDENTITY INSERT

    Good question.

    I am not sure why Lokesh chose to include a link to the SQL Server 2000 version of the documentation. Especially since the setup script uses SQL Server 2008...

  • RE: Aggregates

    antony-688446 (12/12/2012)


    But if you look here http://msdn.microsoft.com/en-us/library/ms173454(v=sql.100).aspx (aggregate functions in SQL 2008) GROUPING_ID is not listed.

    But Here http://msdn.microsoft.com/en-us/library/ms173454(v=sql.105).aspx (SQL 2008R2) its is...

    Did MS re-classify GROUPING_ID as an aggregate function between...

  • RE: Aggregates

    antony-688446 (12/11/2012)


    Stewart "Arturius" Campbell (12/5/2012)


    Interesting question, thanks.

    just bear in mind that GROUPING_ID only came into effect with SQL2008. Those still using 2005 will not have knowledge hereof...

    Being pedantic, GROUPING_ID came...

  • RE: Renaming a procedure

    Toreador (12/12/2012)


    Hugo Kornelis (12/12/2012)


    Using sp_rename to rename a programmability item does not change its definition in sys.sql_modules. That's why Books Online recommends to use DROP / CREATE instead.

    I've never...

  • RE: Renaming a procedure

    As happens more often with a Question of the Day: Good idea, but badly executed.

    If you exactly follow the instructions, executing the 'alter proc' script after making the change will...

  • RE: LIKE a vowel

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


    That's still missing ij and IJ (maybe Hugo will tell us whether Dutch generally uses these ligatures or has generally switched to non-ligatured representation).

    When I was young,...

  • RE: Aggregates

    I picked the right answer, but only after thinking about it for a long time - go with Books Online, or go with common sense. So I am surprised that...

Viewing 15 posts - 1,921 through 1,935 (of 3,348 total)