Forum Replies Created

Viewing 15 posts - 151 through 165 (of 522 total)

  • RE: A round number

    Paul White NZ (5/6/2010)


    Please vote and mark as reproducible if you can.

    Done 🙂

    Best Regards,

    Chris Büttner

  • RE: A round number

    Some more tests showing the bug "in action":

    SELECT '0.5' [Expression], CAST(0.5 as varbinary) AS [Binary Representation]

    UNION ALL SELECT 'ROUND(0.5,0)', CAST(ROUND(0.5,0) as varbinary)

    UNION ALL SELECT '1.0', CAST(1.0 as varbinary)

    UNION ALL SELECT...

    Best Regards,

    Chris Büttner

  • RE: A round number

    Paul White NZ (5/4/2010)


    Hugo Kornelis (5/4/2010)


    Here is another repro that runs fine on all clients, to demonstrate that SQL Server itself actually does not have any issues with this code:

    --...

    Best Regards,

    Chris Büttner

  • RE: A round number

    Thank you Hugo - feels good to get positive feedback from an expert 🙂

    Best Regards,

    Chris Büttner

  • RE: A round number

    cengland0 (5/4/2010)


    ra.shinde (5/3/2010)


    Looks like another bad question.

    I would not consider this a bad question - I assume that almost noone actually knew the behaviour differences and actual cause of the...

    Best Regards,

    Chris Büttner

  • RE: A round number

    Does not look like it is settings related.

    Here is the code executed via each client tool:

    SET QUOTED_IDENTIFIER OFF

    SET ARITHABORT OFF

    SET ANSI_NULL_DFLT_ON OFF

    SET ANSI_DEFAULTS OFF

    SET ANSI_WARNINGS OFF

    SET...

    Best Regards,

    Chris Büttner

  • RE: A round number

    One important observation: This is an error caused within the client tool, not within SQL Server.

    Query Analyzer has no issues; SQL Server management Studio does have the issue.

    It does not...

    Best Regards,

    Chris Büttner

  • RE: Backups

    Hi Paul,

    thanks for your reply. I managed to get it done with your second option, but the first option does not work for me. The screen looks exactly like your...

    Best Regards,

    Chris Büttner

  • RE: Backups

    Paul White NZ (4/30/2010)


    Christian Buettner-167247 (4/30/2010)


    Tested it with SSMS and failed ("Select the Backup Sets to restore" shows no entries after selecting the tail backup in "From device:")

    ...

    If anyone could...

    Best Regards,

    Chris Büttner

  • RE: Backups

    Nice QOTD!

    Tested it with SSMS and failed ("Select the Backup Sets to restore" shows no entries after selecting the tail backup in "From device:")

    Tested it with the "standard" SQL...

    Best Regards,

    Chris Büttner

  • RE: Defensive Programming

    This is an interesting question, but with far too many answer options.

    Therefore I did not even try to solve it on my own, but used google *shameonme*

    If there were 2...

    Best Regards,

    Chris Büttner

  • RE: Truncate rollback

    Thanks for your question as well. As you already indicated, it is hardly possible to cover all cases any time. Keep up the good work!

    Best Regards,

    Chris Büttner

  • RE: Truncate rollback

    The following setting will cause the error:

    SET IMPLICIT_TRANSACTIONS ON

    If this is turned on, the create table statement will also be rolled back, causing the error.

    Best Regards,

    Chris Büttner

  • RE: Truncate rollback

    Depending on your settings, the error can also be a valid answer:

    Server: Msg 208, Level 16, State 1, Line 1

    Invalid object name 'a'.

    Best Regards,

    Chris Büttner

  • RE: Model.mdb

    James Lean (4/15/2010)


    Chris, I'm sure you know by now not to trust everything you read in BOL! 😉

    True, true, but I even don't trust my own stuff occasionally:D

    Best Regards,

    Chris Büttner

Viewing 15 posts - 151 through 165 (of 522 total)