ARRAY/VARRAY Data Type | Data Types and Literals | Teradata Vantage - ARRAY/VARRAY Data Type - Advanced SQL Engine - Teradata Database

SQL Data Types and Literals

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
zsn1556242031050.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1143
lifecycle
previous
Product Category
Teradata Vantageā„¢

This section describes the ARRAY data type.

An ARRAY data type is a named data type that has a user-defined maximum number of elements of the same specific data type. You can define an ARRAY data type to be of one or more dimensions and use it to store many values of the same data type sequentially or in a matrix-like format. This extends the number of data values of the same type that can be stored in a table row.

Teradata Database supports a one-dimensional (1-D) ARRAY data type and a multidimensional (n-D) ARRAY data type, with up to 5 dimensions.

You can also create an ARRAY data type using the VARRAY keyword and syntax for Oracle compatibility.

A data type used for storing and accessing multidimensional data. The ARRAY data type can store many values of the same specific data type in a sequential or matrix-like format.