Created
April 25, 2014 09:45
-
-
Save cfaria/11283921 to your computer and use it in GitHub Desktop.
Replace text in a table
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 wp_posts SET post_content= REPLACE (post_content, '/temp/', '/blog/') WHERE post_content like '%/temp/%'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment