oncode
3/30/2014 - 4:11 PM

Replace a domain in a db column.

Replace a domain in a db column.

UPDATE `table` SET `content` = REPLACE(`content`,'http://old-domain.com/','http://new-domain.com/');