17.10 - ARRAY_ARITHMETIC_FUNCTION Syntax - 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)

System Function

{ ARRAY_ADD |
  ARRAY_SUB |
  ARRAY_MUL |
  ARRAY_DIV |
  ARRAY_MOD
} ( expr1, expr2 [, scope_reference ] )

Method-Style

expr1.{ ARRAY_ADD |
       ARRAY_SUB |
       ARRAY_MUL |
       ARRAY_DIV |
       ARRAY_MOD
     } ( expr2 [, scope_reference ] )

Syntax Elements

expr1
expr2
An ARRAY expression, which is one of the following:
  • A reference to an ARRAY column
  • An ARRAY constructor expression
  • A UDF expression
  • A UDM expression

The element type of the array must be a numeric data type.

scope_reference
An ARRAY scope reference.