Last active
October 5, 2017 04:32
-
-
Save DioVayne/1374489f9c81e388a8baeb639f6430c7 to your computer and use it in GitHub Desktop.
find and replace in mysq database
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 `Kolom` k | |
LEFT JOIN `Rij` r ON k.rowId = r.rowId | |
SET `columnText` = replace(columnText, '140-142', '140') | |
WHERE INSTR(columnText, '140-142') > 0 AND r.siteId = 23; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment