Created
November 12, 2012 09:38
-
-
Save stalmok/4058384 to your computer and use it in GitHub Desktop.
MySQL: replace string and update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// replace string and update | |
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