是这个SQL语句吗?
UPDATE wp_posts SET guid = REPLACE(guid, ‘旧’, ‘新’); |
嗯,这个命令是正确的。但是下面这样会更好一些: UPDATE wp_posts SET guid = REPLACE(guid, ‘old-url.com’, ‘new-url.com’) WHERE post_type = ‘attachment’; |
谢谢大佬 |
是这个SQL语句吗?
UPDATE wp_posts SET guid = REPLACE(guid, ‘旧’, ‘新’); |
嗯,这个命令是正确的。但是下面这样会更好一些: UPDATE wp_posts SET guid = REPLACE(guid, ‘old-url.com’, ‘new-url.com’) WHERE post_type = ‘attachment’; |
谢谢大佬 |