fu7100 发表于 2018-08-31 17:05

mysql将函数结果和字符串拼接在一起该如何写?

mysql> select concat('uuid:',select replace(uuid(),'-',''));
报错如下
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select replace(uuid(),'-',''))' at line 1

lxzkenney 发表于 2018-09-03 15:09

页: [1]
查看完整版本: mysql将函数结果和字符串拼接在一起该如何写?