【发布时间】:2018-07-06 16:09:40
【问题描述】:
我的表结构如下,
ID Name Source
1 John first.jpg
2 Doe second.jpg
3 Mary third.jpg
4 Kurian four.jpg
我想通过添加主机和主键来更新“源”,如下所示
http://example.com/1/first.jpg
http://example.com/2/second.jpg
http://example.com/3/third.jpg
http://example.com/4/four.jpg
尝试使用 CONCAT("http://example.com/"+id,Source) 但因截断不正确的 DOUBLE 值而失败:
任何建议都将不胜感激。
【问题讨论】: