现在的位置: 首页 > 综合 > 正文

MYSQL中的字符串连接符

2017年12月04日 ⁄ 综合 ⁄ 共 141字 ⁄ 字号 评论关闭

记得MSSQL中貌似是用加号可以直接连接,GOOGLE了一把才知道MYSQLk 需要用到concat函数来连接字符串。

update `phpcms_content` set url = concat(‘html/2010-05/’,contentid,’.htm’) where catid=137

抱歉!评论已关闭.