Skip to content

Instantly share code, notes, and snippets.

@benrothe
Last active October 5, 2015 07:17
Show Gist options
  • Save benrothe/2769474 to your computer and use it in GitHub Desktop.
Save benrothe/2769474 to your computer and use it in GitHub Desktop.
Find & replace data in MySQL
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