Skip to content

Instantly share code, notes, and snippets.

@maliMirkec
Last active October 27, 2015 17:58
Show Gist options
  • Select an option

  • Save maliMirkec/808879696b08f6c263b3 to your computer and use it in GitHub Desktop.

Select an option

Save maliMirkec/808879696b08f6c263b3 to your computer and use it in GitHub Desktop.
Replace string in database
UPDATE table_name
SET column_name = REPLACE(column_name, 'old_string_part', 'new_string_part');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment