开发者

SQL / Wordpress - query for removing a comment field

开发者 https://www.devze.com 2023-01-07 05:47 出处:网络
Does anyone know how can I replace the \"comment_author_url\" field from all comments by running a SQL query?

Does anyone know how can I replace the "comment_author_url" field from all comments by running a SQL query?

for example开发者_StackOverflow中文版 if this field is http://google.com to replace it with "" (empty string)


Use:

UPDATE your_table
   SET comment_author_url = ''
 WHERE comment_author_url = 'http://google.com'
0

精彩评论

暂无评论...
验证码 换一张
取 消