Created
October 21, 2020 08:01
-
-
Save aamsur-mkt/43e088f40b55fa1d36a0d262f938aad5 to your computer and use it in GitHub Desktop.
Mysql Query for UPDATE and REPLACE part of a string
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 article set old_body = REPLACE(old_body, 'href="/group/kmon', 'href="https://km.pgn.co.id/group/kmon') where old_body like '%href="/group/kmon%' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment