Difference between revisions of "CONCAT()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
==Purpose== | ==Purpose== | ||
− | Function to concatenate two strings | + | Function to concatenate two or more strings |
− | + | ||
==Syntax== | ==Syntax== | ||
− | CONCAT(<expC1>, <expC2>) | + | CONCAT(<expC1>, <expC2> [, <expCN>...) |
− | + | ||
==See Also== | ==See Also== | ||
− | [[AT()]], [[ATNEXT()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[SET STRESCAPE]], [[STR()]], [[STREXTRACT()]], [[STRSTR()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]] | + | [[AT()]], [[ATNEXT()]], [[FORMAT()]], [[INLIST()]], [[LEFT()]], [[OCCURS()]], [[RAT()]], [[RIGHT()]], [[SET STRESCAPE]], [[STR()]], [[STREXTRACT()]], [[STRSTR()]], [[STRTRAN()]], [[STUFF()]], [[SUBSTR()]] |
− | + | ||
==Description== | ==Description== | ||
− | The CONCAT() function concatenates the two specified strings, right-trimming | + | The CONCAT() function concatenates the two or more specified strings, right-trimming <expC1>. |
− | + | ||
==Example== | ==Example== | ||
Line 22: | Line 18: | ||
</code> | </code> | ||
− | |||
− | |||
− | |||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | |||
[[Category:String Data Functions]] | [[Category:String Data Functions]] |
Latest revision as of 10:53, 13 February 2020
Contents
Purpose
Function to concatenate two or more strings
Syntax
CONCAT(<expC1>, <expC2> [, <expCN>...)
See Also
AT(), ATNEXT(), FORMAT(), INLIST(), LEFT(), OCCURS(), RAT(), RIGHT(), SET STRESCAPE, STR(), STREXTRACT(), STRSTR(), STRTRAN(), STUFF(), SUBSTR()
Description
The CONCAT() function concatenates the two or more specified strings, right-trimming <expC1>.
Example
open database southwind use customers ? concat(concat(city,', '),country)