1.2 KiB
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. |
|
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 >}}