mysql字符串截取、拼接
字符串截取:substring_index(str,delim,count)concat(substring_index(a.sn, '_', 1), '_',?,'_', substring_index(a.sn, '_', -2))update surgery_kit_store a set a.kitName=? , a.sn=concat(substring_index(a
·
字符串截取:substring_index(str,delim,count)
<span style="font-family:KaiTi_GB2312;font-size:18px;">concat(substring_index(a.sn, '_', 1), '_',?,'_', substring_index(a.sn, '_', -2))</span>
<span style="font-family:KaiTi_GB2312;font-size:18px;">update surgery_kit_store a set a.kitName=? , a.sn=concat(substring_index(a.sn, '_', 1), '_',?,'_', substring_index(a.sn, '_', -2)) where a.surgery_kit_fk=?</span>
更多推荐
已为社区贡献9条内容
所有评论(0)