• Hi,
    I think I made some error in the DB when some months ago I’ve splitted my blog into 2 distinct ones.

    Now I have an enoumous wp_term_reletionships table!

    I’ve understood object_id should be equal only to wp_posts.ID and wp_links.link_id

    so if I execute this query:
    SELECT DISTINCT object_id FROM wp_term_relationships WHERE object_id NOT IN (SELECT ID from wp_posts ) AND object_id NOT IN (SELECT link_id from wp_links )

    I should recive no results, isn’t it?

    But this isn’t what i get, can i securely erase all rows I get from this query?

    Thanks

  • The topic ‘wp_term_relationships’ is closed to new replies.