• Prassad Dabbada V R (8/21/2012)


    I thought it will conevert everything to int. As the expression eveluates from right to left so from the right first plus will return 121 (120 will be converted to int) and so on and so forth.

    but unfortunately my guess is wrong.

    No, expressions evaluate from left to right.

    I got it wrong because I'm so used to shortcutting the addition of 3 numbers in my head that I for some reason thought SQL Server could do the same. Too early in the morning, not enough coffee, {{insert additional generic excuse}}.