SELECT SUBSTRING_INDEX(download_url, '?', 1) FROM `t_download_information` ;
UPDATE `t_download_information` SET `download_url`= SUBSTRING_INDEX(download_url, '?', 1);
SELECT SUBSTRING_INDEX(download_url, '?', 1) FROM `t_download_information` ;
UPDATE `t_download_information` SET `download_url`= SUBSTRING_INDEX(download_url, '?', 1);
本文标题:mysql 使用SUBSTRING_INDEX更新某个字段?之后
本文链接:https://www.haomeiwen.com/subject/hzvrcrtx.html
网友评论