Skip to content

Instantly share code, notes, and snippets.

@aswebdev
Created October 30, 2013 23:15
Show Gist options
  • Save aswebdev/8bb6c1ba16c3f6cdf4fa to your computer and use it in GitHub Desktop.
Save aswebdev/8bb6c1ba16c3f6cdf4fa to your computer and use it in GitHub Desktop.
An SQL Query that will search and replace
UPDATE `categories` SET url = REPLACE(url,"fromstring","tostring")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment