Polemik, heute.

MySQL Search and Replace

Some times, some “people” store absolute links into a database (in my case MySQL) and you have to correct this mess. You could write a small script to search and replace the unwanted content or just use SQL to solve the problem.

update [table_name] set [field_name] = replace([field_name],’[string_to_find]‘,’[string_to_replace]‘);

Comments are closed.