Reference material for ARRAY_TO_STRING function
NULL
array elements are omitted.
Alias: ARRAY_JOIN
Parameter | Description | Supported input types |
---|---|---|
<array> | An array to be concatenated | ARRAY |
<delimiter> | The delimiter used for concatenating the array elements | TEXT |
TEXT
123
In this example below, the levels are concatenated separated by a comma.
1,2,3
In this example below, the elements of a nested array containing a NULL
are concatenated.
1,2,3,4,5