CONCAT()

From Lianjapedia
Revision as of 07:49, 3 April 2013 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Purpose

Function to concatenate two or more strings

Syntax

CONCAT(<expC1>, <expC2> [, <expCN>...)

See Also

AT(), ATNEXT(), 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)