ARRAY_SUM Function | Data Types and Literals | Teradata Vantage - ARRAY_SUM - Teradata Vantage - Analytics Database

SQL Data Types and Literals

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-11-06
dita:mapPath
uds1628112204571.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
exs1472253032394
lifecycle
latest
Product Category
Teradata Vantageā„¢

Returns a value representing the total sum of adding the values of each element in array_expr or the sum of the elements within the specified scope.

The result type of ARRAY_SUM is NUMBER unless the element type of the array argument is FLOAT. The result type is FLOAT.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.