时间:2021-07-01 10:21:17 帮助过:27人阅读
-- "90003": key
-- SUBSTRING(str,index,length)
-- LOCATE(subStr,str,startIndex)
SUBSTRING(fs_pay_info,LOCATE(‘"90003":‘,fs_pay_info)+8,IF(LOCATE(‘,‘,fs_pay_info,2) =0,LOCATE(‘}‘,fs_pay_info,2),LOCATE(‘,‘,fs_pay_info,2))-(LOCATE(‘"90003":‘,fs_pay_info)+8)) AS freeamnt
MySql UPDATE更新语句备忘
标签:comm inner word length str oca tar substr 备忘