Skip to content

Instantly share code, notes, and snippets.

@phamngsinh
Last active December 31, 2020 07:38
Show Gist options
  • Select an option

  • Save phamngsinh/587e84c7bfb90e7f27984ca389e73830 to your computer and use it in GitHub Desktop.

Select an option

Save phamngsinh/587e84c7bfb90e7f27984ca389e73830 to your computer and use it in GitHub Desktop.
Find and Replace text in the entire table using a MySQL query
UPDATE table SET field = replace(field, text_needs_to_be_replaced, text_required);
https://smagic39.com
@phamngsinh

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment