Skip to content

Instantly share code, notes, and snippets.

@doitlikejustin
Created July 26, 2013 20:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save doitlikejustin/6091991 to your computer and use it in GitHub Desktop.
Save doitlikejustin/6091991 to your computer and use it in GitHub Desktop.
Simple SQL REPLACE
UPDATE _table_ SET _field_ = REPLACE(_field_, '_old_value_', '_new_value_');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment