Skip to content

Instantly share code, notes, and snippets.

@random-robbie
Created June 29, 2015 13:23
Show Gist options
  • Save random-robbie/7707d925d2bb7d9e966a to your computer and use it in GitHub Desktop.
Save random-robbie/7707d925d2bb7d9e966a to your computer and use it in GitHub Desktop.
Replace Word with another word using MYSQL
To find a string in a certain field and replace it with another string:
update [table_name] set [field_name] = replace([field_name],'[string_to_find]','[string_to_replace]');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment