Name
CONCAT()
Synopsis
CONCAT(str1
,str2
, ...)
Returns the result of concatenating
str1
, str2
, and
any other parameters (or NULL
if
any argument is NULL
). If any of
the arguments are binary, then the result is a binary string;
otherwise, the result is a nonbinary string. This code returns the
string âMySQLâ:
SELECT CONCAT('My', 'S', 'QL');
Get Learning PHP, MySQL, JavaScript, and CSS, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.