mysql更新、替换空间和限制

mysql更新、替换空间和限制,mysql,Mysql,我现在有这个 en_title cell huawei e160e best modem for mobile using, 3g hsdpa UPDATE lang_temp SET fi_content = CONCAT( '<a href="http://www.google.fi/search?hl=fi&source=hp&q=', en_title ,'&meta=&aq=f&oqnofollow" target

我现在有这个

en_title cell
huawei e160e best modem for mobile using, 3g hsdpa



UPDATE lang_temp
SET fi_content = CONCAT( '<a href="http://www.google.fi/search?hl=fi&source=hp&q=', en_title ,'&meta=&aq=f&oqnofollow" target=_blank>Google search...</a>')
WHERE en_content ='';
en_标题单元格
华为e160e最佳移动调制解调器,3g hsdpa
更新lang_temp
设置fi_content=CONCAT(“”)
其中en_内容=“”;
我需要将空格替换为+charters,并将值限制为15 charters

结果我需要

<a href="http://www.google.fi/search?hl=fi&source=hp&q=huawei+e160e+best+f&meta=&aq=f&oqnofollow" target=_blank>Google search...</a>


怎么可能呢?

使用stru替换(“,“+”,“你的URL”);对于在给定URL中用+替换空格

sql具有替换、SUBSTR和修剪功能,我已经尝试过了,但是我如何在一个查询中获得所有空格?如何将其与15个字符组合?