Created
September 9, 2016 00:44
-
-
Save alvinnguyen/2f373a3dc91613e2cb81d9e8130e4624 to your computer and use it in GitHub Desktop.
How to replace value in mysql query
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
update core_config_data | |
set value = replace(value, 'intl.forever', 'oscarintl.forever') | |
where value like '%intl.forevernew%'; -- this is so the query doesn't spend time checking all other rows |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment