mysql 字符串截取、位置查询
update test2 set aaa = SUBSTRING(title, LOCATE('id=', title) + 3, (LOCATE('&prjid=', title) - LOCATE('id=', title) - 3));
编程PDF电子书免费下载: http://www.shitanlife.com/code 每天学习一点点
update test2 set aaa = SUBSTRING(title, LOCATE('id=', title) + 3, (LOCATE('&prjid=', title) - LOCATE('id=', title) - 3));