Skip to content

Instantly share code, notes, and snippets.

@eivko
Created August 3, 2017 14:19
Show Gist options
  • Save eivko/a7b552b931e89b7884e44752e7bf1fb5 to your computer and use it in GitHub Desktop.
Save eivko/a7b552b931e89b7884e44752e7bf1fb5 to your computer and use it in GitHub Desktop.
найти и заменить часть содержимого таблицы
UPDATE articles SET text = REPLACE(text, '8-927-123-45-67', '8-927-123-76-54') WHERE text LIKE '%8-927-123-45-67%'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment