wp_posts为表名,post_title为字段
sql查询语句为下
DELETE FROM wp_posts WHERE post_title=''
同数据库下,要把 pre_forum_post 表下的 post_content 字段 的全列数据复制到 wp_posts 表下的 post_content 字段
INSERT INTO wp_posts(post_content) SELECT post_content FROM pre_forum_post;
E星期五,一个心情日记和分享记录的博客
wp_posts为表名,post_title为字段
sql查询语句为下
DELETE FROM wp_posts WHERE post_title=''
同数据库下,要把 pre_forum_post 表下的 post_content 字段 的全列数据复制到 wp_posts 表下的 post_content 字段
INSERT INTO wp_posts(post_content) SELECT post_content FROM pre_forum_post;
© 2025 E星期五的博客
Theme by Anders Noren — Up ↑
发表回复