Forum Replies Created

Viewing 15 posts - 1,696 through 1,710 (of 3,348 total)

  • RE: SHOWPLAN_XML

    crussell-931424 (6/13/2013)


    By the way, I added a literal just before the * and got that literal back, so it does execute some data, even if it doesn't retrieve data from...

  • RE: SHOWPLAN_XML

    Boy, how do I hate questions like this. No wait, the question is okay, it's the answer options.

    If the question is "how many rows", the answer options should be numbers....

  • RE: BETWEEN a hard place and a rock

    sknox (6/12/2013)


    There is a bug in your answer. You say:

    This means that the first query returns all rows from MyTable, the second only the rows with NumericColumn equal to...

  • RE: BETWEEN a hard place and a rock

    Ford Fairlane (6/12/2013)


    very "nasty" question missed it all together - lost in translation - between computer screen and my brain :p

    Thanks! (Goes for the other replies as welll).

    I was aware...

  • RE: BETWEEN a hard place and a rock

    raulggonzalez (6/12/2013)


    Thanks for the nice question with plenty of knowledge involved, but I've got it just because none of the above made sense for me, and the explanation is not...

  • RE: Data types in tables

    Louis Hillebrand (6/11/2013)


    The database I was testing on was on Compatibility level 80 (SQL Server 2000).

    When I change the Compatibility level to 90 or 100 (SQL 2005 / 2008 )...

  • RE: Data types in tables

    Louis Hillebrand (6/11/2013)


    When I run the 2nd query it inserts 2 rows into the table.

    Louis Hillebrand (6/11/2013)


    The final select returns '10' and '2012-10-10'

    That's very strange. I cannot reproduce this (SQL...

  • RE: Data types in tables

    Louis Hillebrand (6/11/2013)


    When I run the 2nd query it inserts 2 rows into the table.

    So my answer would be 'error', '2 rows', '2 rows'.

    That's strange...

    What is the data returned...

  • RE: Data types in tables

    Good question. Too bad the explanation is lacking. It explains how to work around the issue, but not what causes it.

    The answer to that is data type precedence. Both VALUES...

  • RE: Float Data Type

    Srinivas.Pendyala (6/10/2013)


    i cant understand that how the result will come,both are same that giving same output

    can please tell me the how it is possible

    Hi Srinivas,

    Sure! There's an excellent discussion about...

  • RE: Float Data Type

    nenad-zivkovic (6/7/2013)


    From BOL http://msdn.microsoft.com/en-us/library/ms187912(SQL.100).aspx

    Avoid using float or real columns in WHERE clause search conditions, especially the = and <> operators.

    Should be "Avoid using float or real columns." Period. Exclamation mark....

  • RE: Float Data Type

    Danny Ocean (6/6/2013)


    Can anybody give correct reason for this result ?

    When working with decimal (base 10) fractions, most people easily understand this. If you use a fixed number of decimals...

  • RE: IFF - 1

    eric larocca (6/7/2013)


    why does 'r ' = 'R'

    this is like saying Length or 2 = Length of 1

    in the problem it is small r + a blank space set...

  • RE: IFF - 1

    Joseph M. Morgan (6/6/2013)


    The first string has a space after the letter, the second does not. Without a Trim, why are they equal? Case sensitivity is irrelevant. The two strings...

  • RE: COALESCE

    Neeraj Prasad Sharma (6/4/2013)


    Thanx for the nice explanation

    Please explain this

    Select isnull ('A',1 ) does not return Error

    select COALESCE( 'A', 1)

    Conversion failed when converting...

Viewing 15 posts - 1,696 through 1,710 (of 3,348 total)