Skip to content

Instantly share code, notes, and snippets.

@sylvainraye
Created October 2, 2013 07:50
Show Gist options
  • Save sylvainraye/6790337 to your computer and use it in GitHub Desktop.
Save sylvainraye/6790337 to your computer and use it in GitHub Desktop.
Search and replace SQL Query
UPDATE Table SET champ=REPLACE(champ,'chaine 1','chaine 2') WHERE champ LIKE '%chaine 1%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment