欢迎来到HELLO素材网! 南京网站制作选择顺炫科技
丰富的DIV CSS模版、JS,jQuery特效免费提供下载
当前位置:主页 > 建站教程 > CMS教程 >

wordpress修正文章ID(把ID为55的改成56)的SQL语句

发表于2019-04-15 09:38| 次阅读| 来源网络整理| 作者session

摘要:wordpress修正文章ID(把ID为55的改成56)的SQL语句

修正某篇文章ID(把ID为55的改成56)的SQL语句 打开数据库,把文章ID为55的改成56,残缺的SQL语句如下: update wp_posts set id = 55 where id = 56; update wp_term_relationships set object_id = 55 where object_id = 56; update wp_postmeta set post_id = 55 wher

wordpress修正文章ID(把ID为55的改成56)的SQL语句

修正某篇文章ID(把ID为55的改成56)的SQL语句
  
  打开数据库,把文章ID为55的改成56,残缺的SQL语句如下:
  
  update wp_posts set id = 55 where id = 56;
  
  update wp_term_relationships set object_id = 55 where object_id = 56;
  
  update wp_postmeta set post_id = 55 where post_id = 56;
  
  update wp_comments set comment_post_ID = 55 where comment_post_ID = 56;

分享到:

本文"wordpress修正文章ID(把ID为55的改成56)的SQL语句"由蚂蚁部落站长搜集整顿而来,仅供大家学习与参考利用。更多网站制造教程尽在蚂蚁部落站长站。

顶一下

(0)

0%

踩一下

(0)