Description
Returns a concatenation of two arrays
Aliases: ARRAY_CONCAT — equivalent spellings; same function and parameters.
Syntax
ARRAY_CAT(array1 , array2)
Parameters
| Parameter | Description | Data Type | Required |
|---|---|---|---|
| array | Variadic arrays. | Array | Yes |
Notes
- Works on any valid array type (
Integer[],Text[], etc.) - Both arrays must be the same type
- Returns NULL if either input array is NULL
Example
SELECT
ARRAY_CONCAT(tags, other_tags)
FROM
rippling.employee.Employee
LIMIT
5;