摘要: sql 截取字符串[转自网络] MySQL: 1、LOCATE(substr , str ):返回子串 substr 在字符串 str 中第一次出现的位置,如果字符substr在字符串str中不存在,则返回0; 2、POSITION(substr IN str ):返回子串 substr 在字符串 阅读全文
posted @ 2018-07-25 13:04 awei4home 阅读(268) 评论(0) 推荐(0)