ClickHouse/docs/en/sql-reference/aggregate-functions/reference/sumwithoverflow.md
2022-08-28 10:53:34 -04:00

336 B

slug sidebar_position
/en/sql-reference/aggregate-functions/reference/sumwithoverflow 140

sumWithOverflow

Computes the sum of the numbers, using the same data type for the result as for the input parameters. If the sum exceeds the maximum value for this data type, it is calculated with overflow.

Only works for numbers.