ARRAY[expr1, expr2, ...] Constructs a SQL ARRAY literal from the provided expression arguments. All arguments must be of the same type. ARRAY_APPEND(arr, expr) Appends the expression to the array. The ...
ARRAY[expr1, expr2, ...] Constructs a SQL ARRAY literal from the expression arguments, using the type of the first argument as the output array type. ARRAY_LENGTH(arr) Returns length of the array ...
I wanted a centralized example of how to read multiple rows using SQL, into an RPG host variable when one of its columns was also an array. We think of reading multiple rows into a data structure as ...