码迷,mamicode.com
首页 > 其他好文 > 详细

字符串拼接

时间:2018-08-17 20:04:34      阅读:94      评论:0      收藏:0      [点我收藏+]

标签:div   short   字符   nbsp   ons   HERE   col   inf   ||   

select substr(t.short_name,0,3)|| ‘个体户‘ from up_merchant_info t where t.merc_num = ‘18030115384673‘;
update  up_merchant_info t set t.short_name = (select substr(t.short_name,0,3)|| ‘个体户‘ from up_merchant_info t where t.merc_num = ‘180301153846731‘) where t.merc_num = ‘180301153846731‘

字符串拼接

标签:div   short   字符   nbsp   ons   HERE   col   inf   ||   

原文地址:https://www.cnblogs.com/bchange/p/9494865.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!