Arithmetic

  • Comments posted to this topic are about the item Arithmetic

  • Nice, easy question to end the week on, thanks Junior

    ____________________________________________
    Space, the final frontier? not any more...
    All limits henceforth are self-imposed.
    “libera tute vulgaris ex”

  • So why is it that with all the Implicit conversions that SQL can do, something, that to me seems so simple, has never been made addressed ?

  • Thanks - tricky question for me, but I learned something.

    - webrunner

    -------------------
    A SQL query walks into a bar and sees two tables. He walks up to them and asks, "Can I join you?"
    Ref.: http://tkyte.blogspot.com/2009/02/sql-joke.html

  • Budd - Friday, June 22, 2018 6:58 AM

    So why is it that with all the Implicit conversions that SQL can do, something, that to me seems so simple, has never been made addressed ?

    This has nothing to do with implicit conversions. This is assigning a value to a type larger that it allows. If this were a column, you should have to implicitly change the column definition, that's just a recipe for disaster.

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2
  • webrunner - Friday, June 22, 2018 8:42 AM

    Thanks - tricky question for me, but I learned something.

    - webrunner

    Many times, what I learn from the QotD is to slow down and pay attention to the details.  This question is a good example.  I scanned it & didn't connect the details in the declaration and the assignment.  I could blame the absence of caffeine in my system, but the real problem is my lack of attention to detail.
    Thanks for the question, Junior.

  • What does the SSMS version have to do with the question.

    I mean it is a good question, requiring attention to detail but the SSMS version is totally unrelated.

  • Ray Herring - Saturday, June 23, 2018 11:11 AM

    What does the SSMS version have to do with the question.

    I mean it is a good question, requiring attention to detail but the SSMS version is totally unrelated.

    We see it all the time, magicians, politicians and IT consultants throwing in unrelated things 😀
    😎

Viewing 8 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic. Login to reply