Skip to content

Instantly share code, notes, and snippets.

@briezler
Created September 1, 2016 09:40
Show Gist options
  • Save briezler/67873d3175f581098a8f2832ac1dd4b4 to your computer and use it in GitHub Desktop.
Save briezler/67873d3175f581098a8f2832ac1dd4b4 to your computer and use it in GitHub Desktop.
MySql replace String in column
UPDATE TABLE
SET COL = REPLACE(url, 'domain1.com', 'domain2.com')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment