Created
March 10, 2017 20:17
-
-
Save marcosnakamine/09e5d50c40c0f6a20b2b09ac55411ea9 to your computer and use it in GitHub Desktop.
MySQL - Search and replace string
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, | |
| 'search', | |
| 'replace' | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment