scalar

CONCAT

Joins textual representations; PostgreSQL ignores NULL arguments, unlike some engines. Example target: PostgreSQL 17. No tables or extensions required.

Formal Syntax & Structure

sql syntaxsql
CONCAT(a,b,...)

Working Example

Example Snippetsql
SELECT concat('A',NULL,'B');
SQL Reference