Created
July 1, 2015 07:59
-
-
Save alancoleman/225df15d22f921fa8d16 to your computer and use it in GitHub Desktop.
Replace characters in a column using update
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] SET url = REPLACE (url, 'a', 'b') WHERE [column] LIKE '%alan%'; | |
-- Produces 'blbn' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment