Forum Replies Created

Viewing 15 posts - 61 through 75 (of 656 total)

  • RE: Temporary Table Limitations

    pmadhavapeddi22 (4/6/2016)


    i feel double negatives are confusing.

    I don't not fail to disagree that your statement is wrong

  • RE: Converting to XML

    George Vobr (3/31/2016)


    It just shows that the result with the NULL is the same as 'NULL', nothing more.

    I would have expected 'NULL' to be treated as a string with that...

  • RE: Select vs Set Local Variable

    Carlo Romagnano (3/31/2016)


    Without an ORDER BY clause, there isn't no guarantee that the first select returns 2. Any value may be returned.

    This ^^^

    It probably will always return 2 given the...

  • RE: Converting to XML

    George Vobr (3/30/2016)


    Try this:

    SELECT TRY_CONVERT(XML, 'NULL');

    The others I understand, but not this one!

  • RE: Equality on Nullable Columns

    Incredible that at the time of writing, only 75% got this right!

  • RE: CHECKing Values

    Carlo Romagnano (1/28/2016)

    If the column is NULL the constraint CHECK is skipped.

    It might be skipped by the SQL engine, I don't know. But logically it's not. It's applied, the outcome...

  • RE: Count Function Result (2)

    Ed Wagner (1/25/2016)[/b]


    Interesting. I half-expected this to be covered in Books Online, but it isn't. My guess is that it's because NULL is unknown. If you wanted...

  • RE: Count Function Result (2)

    Again, a good idea, but the choices available meant I only had to think about the first two before I got a unique option.

  • RE: I thought my database was collation agnostic

    samot-dwarf (1/14/2016)


    I doubt, that your real solution (specifying an explicit collation string at each char field) is really a real solution, because it is very error prone - you have...

  • RE: It's the end of the year

    Rich Mechaber (1/6/2016)


    This, for example, throws an error:

    SET LANGUAGE british

    SELECT CAST('2003-02-28' AS datetime);

    Server: Msg 242, Level 16, State 3, Line 4

    The conversion of a char data type to a datetime...

  • RE: It's the end of the year

    Aaron N. Cutshall (1/4/2016)


    Cut and paste issues hit us all -- even to the experienced.

    Especially to the experienced - the inexperienced are more likely to check things afterwards 🙂

  • RE: Altering Included Indexes

    I'm astonished that nobody has mentioned this yet, but option 4 will fail as there is no such column.

    Perhaps everyone is using the discussion to learn and share information, rather...

  • RE: Included Indexes

    Typo alert!

    Option 4 "I can include deterministic computed columns. "

    Explanation of why this is wrong "The computed columns that are deterministic can be included."

    Oops :blush:

  • RE: Filestream Tables

    julienchappel 38298 (12/13/2015)


    SOME CONSISTECY of which you are so committed would be nice if you follow yourself as well. It is really frustrating the reading one version of a code...

  • RE: Filestream Tables

    Well I guessed right, but the correct answer is surely that ID is not a valid data type for myID.

Viewing 15 posts - 61 through 75 (of 656 total)