有谁知道如何通过运行 SQL 查询来替换所有评论中的“comment_author_url”字段?
例如,如果此字段是 http://google.com
,则将其替换为 ""
(空字符串)
最佳答案
使用:
UPDATE your_table
SET comment_author_url = ''
WHERE comment_author_url = 'http://google.com'
关于mysql - SQL/Wordpress - 删除评论字段的查询,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3242131/