CONCAT

Syntax

CONCAT( arg_1, arg_2, arg_3 [ , ... ] )

Description

Merges any number of strings. When non-string types are used, they're converted to strings and then merged.

Argument types:

  • arg_1Boolean | Date | Datetime | Fractional number | Geopoint | Geopolygon | Integer | String | UUID
  • arg_2Boolean | Date | Datetime | Fractional number | Geopoint | Geopolygon | Integer | String | UUID
  • arg_3Boolean | Date | Datetime | Fractional number | Geopoint | Geopolygon | Integer | String | UUID

Return type: String

Example

CONCAT(2019, 01, 23) = "20190123"

Data source support

ClickHouse 19.13, Microsoft SQL Server 2017 (14.0), MySQL 5.6, PostgreSQL 9.3.

Previous