Last active
October 27, 2015 17:58
-
-
Save maliMirkec/808879696b08f6c263b3 to your computer and use it in GitHub Desktop.
Replace string in database
This file contains hidden or 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
| UPDATE table_name | |
| SET column_name = REPLACE(column_name, 'old_string_part', 'new_string_part'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment