Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a lot of meta_key and their relative meta_value associated to a post, for example, post_id = 4319.
post_id = 4319
How can I assign, using an SQL query, all the values to another post_id? for example, post_id = 6219.
post_id = 6219
UPDATE wp_postmeta SET post_id = 6219 WHERE post_id = 4319
Required, but never shown
1 year, 6 months ago
11 months ago