2010-07-13 10 views

Répondre

2

Utilisation:

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

merci. cela fonctionne: D – Alex

+0

Bonne réponse. Rapide et simple. Serait un plugin neato avec une correspondance regex. ;-) – hsatterwhite

+1

@hsatterwhite: Echange 'WHERE comment_author_url = ...' avec 'WHERE comment_author_url REGEXP ...' - il y a [plus d'infos sur le support de MySQL dans ce lien de documentation] (http://dev.mysql.com/ doc/refman/5.1/fr/regexp.html). –