Reputation: 1185
I have a wordpress site. I want to delete the first 15 characters from every post on the site.
I believe the table is wp_posts, and the column is post_content
What would be the sql that I execute from my database manager?
Upvotes: 1
Views: 223
Reputation: 5136
Try this:
UPDATE wp_posts SET post_content = substr(post_content, 16);
Upvotes: 3