Skip to content

Instantly share code, notes, and snippets.

@atsea
Created December 3, 2014 15:33
Show Gist options
  • Save atsea/15323a72f3f4891018e0 to your computer and use it in GitHub Desktop.
Save atsea/15323a72f3f4891018e0 to your computer and use it in GitHub Desktop.
SQL: Replace strings in multiple records
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