16.10 - Overview - Teradata Database

Teradata Database SQL Data Types and Literals

Teradata Database
June 2017
Programming Reference

This chapter 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.