Skip to content

Instantly share code, notes, and snippets.

@lucasff
Created July 29, 2014 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lucasff/491ae4a128494277705e to your computer and use it in GitHub Desktop.
Save lucasff/491ae4a128494277705e to your computer and use it in GitHub Desktop.
Strip out first character
UPDATE wp_posts SET post_content = TRIM(LEADING '>' FROM post_content);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment