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