Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 726 Bytes

File metadata and controls

29 lines (22 loc) · 726 Bytes
description
Concatenates two or more strings. NULL values are ignored.

CONCAT

Syntax

CONCAT(expression1 string, expression2 string, expressionN string) → string

  • expression1: First string expression.
  • expression2: Second string expression.
  • expressionN: Nth string expression.

Examples

{% code title="CONCAT example" %}

SELECT CONCAT('CON', 'CAT')
-- CONCAT

{% endcode %}

{% code title="CONCAT example" %}

SELECT CONCAT('con', 'cat', NULL)
-- concat

{% endcode %}