16.20 - Examples of Setting Element Values for an n-D Array - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
April 2020
Content Type
Programming Reference
Publication ID
B035-1147-162K
Language
English (United States)

The following examples are based on the following n-D ARRAY definition:

/*Oracle-compatible and Teradata syntax respectively: */
CREATE TYPE myArray AS VARRAY(1:20)(1:20) OF CHAR(10);
CREATE TYPE myArray AS integer ARRAY[1:20][1:20];