SQL Query for Deleting 'Scheduled' Posts
-
hey there. seeking to delete Scheduled posts. the SQL query i *believe* i’m after is as follows (but i’m worried about orphaned tables):
DELETE FROM wp_posts WHERE post_date < ‘2010-01-01 17:00:00’ AND post_status = ‘what string here??‘
i tried it, but no rows are deleted.
essentially, am looking to speed up my blog due to the following problems:
All (31,885) |
Published (29,953) |
Scheduled (1,829) |
Drafts (100) |
Private (3) |
Trash (118)– Bulk Delete plugin = times out
– Showing 999 posts then deleting = server failany SQL query help i can ram into PhPMyAdmin to help out would be excellent!
thank you in advance.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘SQL Query for Deleting 'Scheduled' Posts’ is closed to new replies.