array

array_to_string

Joins element text representations, omitting NULL elements unless a replacement is supplied.

Formal Syntax & Structure

sql syntaxsql
array_to_string(array, delimiter [, null_string])

Working Example

Example Snippetsql
SELECT array_to_string(ARRAY[4,NULL,8],',','missing');
SQL Reference