Created
December 3, 2014 15:33
-
-
Save atsea/15323a72f3f4891018e0 to your computer and use it in GitHub Desktop.
SQL: Replace strings in multiple records
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 some_table SET some_field = REPLACE(columnName, 'test', 'sample') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment