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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
314 B
Markdown
Raw Normal View History

2021-02-02 12:00:41 +00:00
---
2022-08-26 19:07:59 +00:00
slug: /zh/sql-reference/aggregate-functions/reference/sumwithoverflow
2022-04-10 23:08:18 +00:00
sidebar_position: 140
2021-02-02 12:00:41 +00:00
---
# sumWithOverflow {#sumwithoverflowx}
2021-02-26 13:01:37 +00:00
使用与输入参数相同的数据类型计算结果的数字总和。如果总和超过此数据类型的最大值,则使用溢出进行计算。
2021-02-02 12:00:41 +00:00
2021-02-26 13:01:37 +00:00
只适用于数字。