yanknudtskov
1/4/2014 - 1:24 PM

Search and replace in MySQL table

Search and replace in MySQL table

update table_name set field_name = replace(field, 'search_string', 'replace_string') where instr(field_name, 'search_string') > 0;