Forum Discussion

ia01's avatar
ia01
Level 6
12 years ago

Arithmetic overflow error converting expression to data type int

Hi,   Just trying to run the following query, it was working for a while, suddenly started getting "Msg 8115, Level 16, State 2, Line 1 Arithmetic overflow error converting expression to data t...
  • JesusWept3's avatar
    12 years ago

    You're going to have to CAST the item to a bigger int

    SUM(CONVERT(bigint,SS.ItemSize))