帝国CMS 批量修改字段内容

来自:互联网
时间:2020-02-13
阅读:
免费资源网 - https://freexyz.cn/

update phome_ecms_download set titleurl=replace(titleurl,'http://freexyz.cn','http://127.0.0.1');

update phome_ecms_download set titlepic=replace(titlepic,'http://freexyz.cn','http://127.0.0.1');

update phome_ecms_download set username=REPLACE(username,'admin','发布者') WHERE id BETWEEN 1 AND 100; 指定批量修改ID=1-100;

update phome_ecms_download set userid=REPLACE(userid,'1','55'),username=REPLACE(username,'admin','改变'),ismember=REPLACE(ismember,'0','1') WHERE id BETWEEN 1 AND 100; 一次批量修改三个字段

免费资源网 - https://freexyz.cn/
返回顶部
顶部