Forum Replies Created

Viewing 15 posts - 496 through 510 (of 658 total)

  • RE: Money and Decimal Datatypes

    Of course strictly speaking the result will be 90.3400 as the result will be of type money 🙂

  • RE: Length

    Not sure which is worse - a mistake in the question, or the fact that a squillion people feel obliged to point it out despite there already being several pages...

  • RE: Length

    bradphilp (4/10/2011)The answer is 6. How do these people actually consider themselves professional when they cant even answer questions they write?

    How deliciously ironic!

  • RE: Data conversion

    sandippani (3/29/2011)


    In MS SQL SERVER 2005 the create stament will work if you remove the extra comma but in MS SQL SERVER 2008 it won't work as Date is...

  • RE: Data conversion

    Tom.Thomson (3/26/2011)


    It makes it easier to comment out bits of the table definition without altering layout (see Hugo's comment on this). Without the trailing comma you could have a...

  • RE: Data conversion

    bitbucket-25253 (3/24/2011)


    In my opinion is it is so trivial that it can not be classified as a bug

    Just because it's trivial doesn't mean it's not a bug - it's...

  • RE: Data conversion

    Asan Buhari (3/22/2011)


    I wondered how SQL Server accepted an extra comma at the end of Create Table statement!

    No-one seems to have addressed this yet?

    Undocument feature, or bug?

  • RE: Scaled-down SQL

    Duncan Pryde (3/22/2011)

    That's kind of the "moral" of the question. Never use a "bigger" decimal/numeric than you actually need.

    The moral I've drawn is that maybe Floats aren't as bad as...

  • RE: Data conversion

    Duncan Pryde (3/19/2011)


    Given that it causes so much heartache, does anyone know why SQL Server allows implicit string-to-date conversion for anything other than ANSI or ISO format dates? Surely it...

  • RE: Data conversion

    bitbucket-25253 (3/18/2011)[hr

    Yes I did

    It worked!

    Did you find any explanation of this behaviour?

  • RE: Data conversion

    I was about to put that the insert would fail (because for most of us outside the USA it will, I wrongly guessed that was the point of the question).

    But...

  • RE: Unused Indexes in your databases

    The revised script works, but returns lots of duplicates, and also includes primary/unique key indexes (it doesn't matter if an index is 'used' if it's there to enforce integrity).

  • RE: Create stored procedure

    ziangij (3/16/2011)I really didn't know that by adding Begin, End (twice or more), we can return 2 recordsets.

    You don't need multiple begin/end pairs to return 2 recordsets.

    create proc test

    as

    begin

    ...

  • RE: LOB Data

    ...and XML is wrong, but the explanation then states that XML is one of the valid types.

    Perhaps this is anither of those questions which were changed by the writer but...

  • RE: ROWGUIDCOL

    mohammed moinudheen (3/7/2011)


    Thank you Ron. Seems to be easy, most of them got it right 🙂

    Only 80% at the moment.

    I'm intrigued about the 2% who answered "2" 😉

Viewing 15 posts - 496 through 510 (of 658 total)