Created
March 17, 2009 18:56
-
-
Save samir/80709 to your computer and use it in GitHub Desktop.
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 table SET field = REPLACE(field, "before", "after") WHERE field REGEXP "([pattern])"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment