nix, shell, perl, php, mysql and mac os x tips and tricks

Sunday, April 6, 2008

MySQL search and replace

UPDATE table_name SET table_field = REPLACE(table_field,'replace_that','with_this');

No comments:

Post a Comment