ClickHouse/docs/zh/sql-reference/aggregate-functions/reference/sumwithoverflow.md

10 lines
282 B
Markdown
Raw Normal View History

2021-02-02 12:00:41 +00:00
---
toc_priority: 140
---
# sumWithOverflow {#sumwithoverflowx}
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.