Latest "SQL" files
Workshop » Reference Section » Grimoires » IT » Platforms » Linux » Packages » SQL
SQL query to list all WordPress post revisions for archiving

SQL query to list all WordPress post revisions for archiving

Here's the SQL query to get all post revisions, which I do prior to cleaning them out of the database, which seems to make it much faster: SELECT p.* FROM…