替换某字段的字符串:
UPDATE article SET
content = replace(content, '解决', '解放')
WHERE ID<5000;
清空数据库,id也置空:
truncate table `v_comment`;
2022-11-29 15:38:51
替换某字段的字符串:
UPDATE article SET
content = replace(content, '解决', '解放')
WHERE ID<5000;
清空数据库,id也置空:
truncate table `v_comment`;