Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
MySQL是否有字符串连接运算符,或者必须使用>;CONCAT()函数?_Mysql_Concatenation - Fatal编程技术网

MySQL是否有字符串连接运算符,或者必须使用>;CONCAT()函数?

MySQL是否有字符串连接运算符,或者必须使用>;CONCAT()函数?,mysql,concatenation,Mysql,Concatenation,我在MySQL中使用+操作符添加字符串值 select id, first_name + '' + last_name as full_name from account; 这样行吗?如果没有,那么还有什么选择?您必须使用CONCAT()可能的副本

我在MySQL中使用
+
操作符添加字符串值

select id, first_name + '' + last_name as full_name
from account;
这样行吗?如果没有,那么还有什么选择?

您必须使用
CONCAT()
可能的副本