Created
April 1, 2019 07:49
-
-
Save D4R4/2b06a72ea4570e41266c7c5ebf6ef84f to your computer and use it in GitHub Desktop.
replace text in mysql text field
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, 'text to find', 'text to replace with') | |
WHERE | |
column_name LIKE '%text to find%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment