Created
December 29, 2015 09:47
-
-
Save theory-of-soul/aef98bae731562d107ce to your computer and use it in GitHub Desktop.
замена подстроки в строке SQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE таблица SET поле = REPLACE(поле, 'что_меняем', 'на_что_меняем') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UPDATE wp_posts SET post_content = REPLACE(post_content, 'pdf" target="_blank"', 'pdf" target="_blank" rel="nofollow"')