2023-10-17 23:36:14 +08:00
|
|
|
[discrete]
|
2023-05-11 23:02:27 +08:00
|
|
|
[[esql-concat]]
|
|
|
|
=== `CONCAT`
|
2023-12-19 22:59:02 +08:00
|
|
|
|
|
|
|
*Syntax*
|
2023-05-11 23:02:27 +08:00
|
|
|
|
|
|
|
[source,esql]
|
|
|
|
----
|
2023-12-19 22:59:02 +08:00
|
|
|
CONCAT(string1, string2[, ..., stringN])
|
|
|
|
----
|
|
|
|
|
|
|
|
*Parameters*
|
|
|
|
|
|
|
|
`stringX`::
|
|
|
|
Strings to concatenate.
|
|
|
|
|
|
|
|
*Description*
|
|
|
|
|
|
|
|
Concatenates two or more strings.
|
|
|
|
|
|
|
|
*Example*
|
|
|
|
|
|
|
|
[source.merge.styled,esql]
|
|
|
|
----
|
|
|
|
include::{esql-specs}/eval.csv-spec[tag=docsConcat]
|
2023-05-11 23:02:27 +08:00
|
|
|
----
|
2023-12-19 22:59:02 +08:00
|
|
|
[%header.monospaced.styled,format=dsv,separator=|]
|
|
|
|
|===
|
|
|
|
include::{esql-specs}/eval.csv-spec[tag=docsConcat-result]
|
|
|
|
|===
|