SQL query to delete postmeta
-
hi,
i used this SQL command to select at the unused postmeta
but i want to delete them, and could’nt figure out how
SELECT * FROM wp_postmeta pm LEFT JOIN wp_posts wp ON wp.ID = pm.post_id WHERE wp.ID IS NULL LIMIT 30;
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘SQL query to delete postmeta’ is closed to new replies.