Skip to content

Instantly share code, notes, and snippets.

@ajankovic
Created July 5, 2012 15:01
Show Gist options
  • Save ajankovic/3054204 to your computer and use it in GitHub Desktop.
Save ajankovic/3054204 to your computer and use it in GitHub Desktop.
Find string in MySql database table and replace it
update TABLE_NAME set FIELD_NAME = replace(FIELD_NAME, 'find this string', 'replace found string with this string');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment