ARRAY_ARITHMETIC_FUNCTION | Data Types and Literals | Teradata Vantage - 17.10 - ARRAY_ARITHMETIC_FUNCTION - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1143-171K
Language
English (United States)

Performs arithmetic operations (add, subtract, multiply, divide, and mod) on an ARRAY value, whether referred to in its entirety or over a scope reference.

The result is an ARRAY of the same size as the maximum cardinality of the input array arguments, and the element type is the same as that of expr1. Note that the size of the result array type refers to its current cardinality.

ANSI Compliance

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