docs-v2/content/influxdb/cloud-dedicated/reference/sql/operators/other.md

1.2 KiB

title list_title description menu weight list_code_example
Other SQL operators Other operators SQL supports other miscellaneous operators that perform various operations.
influxdb_cloud_dedicated
name parent
Other operators Operators
305 | Operator | Meaning | Example | Result | | :------: | :------------------- | :---------------------- | :------------ | | `||` | Concatenate strings | `'Hello' || ' world'` | `Hello world` |

SQL supports miscellaneous operators that perform various operations.

Operator Meaning
|| Concatenate strings {{< icon "link" >}}

||

The || operator concatenates two string operands into a single string.

{{< flex >}} {{% flex-content "two-thirds operator-example" %}}

SELECT 'Hello' || ' world' AS "Concatenated"

{{% /flex-content %}} {{% flex-content "third operator-example" %}}

Concatenated
Hello world

{{% /flex-content %}} {{< /flex >}}