The error format '##keyword' in a lot of docs. This pr is to repair document format. #4335
1.5 KiB
1.5 KiB
title, language
| title | language |
|---|---|
| concat | zh-CN |
concat
description
Syntax
VARCHAR concat(VARCHAR,...)
将多个字符串连接起来, 如果参数中任意一个值是 NULL,那么返回的结果就是 NULL
example
mysql> select concat("a", "b");
+------------------+
| concat('a', 'b') |
+------------------+
| ab |
+------------------+
mysql> select concat("a", "b", "c");
+-----------------------+
| concat('a', 'b', 'c') |
+-----------------------+
| abc |
+-----------------------+
mysql> select concat("a", null, "c");
+------------------------+
| concat('a', NULL, 'c') |
+------------------------+
| NULL |
+------------------------+
keyword
CONCAT