I hope I understand the question correctly
UPDATE `wp_postmeta` SET `meta_value` = replace(meta_value, 'old_value', 'new_value') WHERE `meta_key` LIKE 'your_key'
EDIT 1 : i forgot to mention : BACKUP YOUR DATABASE BEFORE ANY TRIAL
EDIT 2 : following comment : To copy from one field to another (I got a bit confused with your naming and which value you want where , so I post the generic sentence.
UPDATE `TABLE` SET `FIELD2` = `FIELD1'
Related Posts:
- Advanced Custom Fields: how do I check to see if a value is set in an field? [closed]
- Where are custom field values stored in the database
- SQL Query to copy value of a meta_key into another meta_key
- How to correctly call custom field dates into a posts_where filter using SQL statements
- Advanced Custom Fields – Get custom fields from parent page
- Add custom field to the archive page?
- Add custom fields to search
- SELECT max(meta_value) FROM wp_postmeta WHERE meta_key=’price’… stops working when value is over 999
- How to rename a custom field?
- Matching Serialized Arrays with meta_query
- How to position a custom field before the editor
- Display post_object content using Advanced Custom Fields plugin
- Remove old custom field after import
- Unable to get Preview of Uploaded image within a Custom Meta box
- Retrieve custom fields on Categories, using WP-API
- Order by custom field date?
- Bulk move (or copy) from a custom field to the post content?
- Up/Down voting system for WordPress
- Change content before writing to database
- Custom Fields Bulk Edit
- Order Custom post type loop by custom field (datepicker)
- Using Custom Function With Advanced Custom Fields
- automatically set “Featured Image” the same as the og:i that is set in a custom field
- Problem with adding exta field in metabox in custom post type
- Copying Custom Meta Values from existing post to a duplicate post
- Calculate the sum of certain the_sub_fields
- Displaying Custom Fields on Post with Genesis Child Theme
- Unable to show ACF’s Image Custom Field properly in Genesis Framework [closed]
- Login & Register & Custom details WITHOUT plugin
- Send Multiple Custom Field Values Through the URL
- ACF won’t load from a custom JSON location
- Show ACF fields only on certain page in the backend
- Update posts after populating ACF field value [closed]
- How can I pass a variable set by ACF to header.php?
- WP Custom Fields Metabox Disappears – ACF plugin issue [closed]
- Get all posts that do not have a specific custom field without using a subquery
- Transfer self made functions.php custom fields to Advanced Custom Fields [closed]
- Order query by meta_value with multiple custom fields
- ACF: How to get the full field name (meta_key) by a field key?
- How To Fix WP Query Returns Results But Shouldn’t?
- Dynamically fill a post custom field with post publish date
- How can I store a file in the database in the same way WordPress and ACF do?
- Will loading too many ACF Fields cause slow down?
- Custom Field Create Bulk via SQL Query
- WP_User_Query pulling ACF to loop
- Calling the “wp-link-wrap” pop-up modal
- Print custom field in Query Loop block
- How to add Advenced Custom Fields In Single Post
- How to schedule a custom field value update?
- Order RSS content by an advanced custom field value
- Add new image block, set default class name and update it using Javascript
- Get an advanced custom field after post publish
- How to create a dropdown select of all items in an ACF field group
- Advanced Custom Fields dynamic update_field
- WooCommerce – Adding Custom Fields To Invoice
- UPDATE on SELECT results. A SQL query to swap Author with Meta Box value
- Sort custom post type by multiple custom fields
- Meta Query And/Or
- Vimeo thumbnails
- Advanced Custom Fields WYSIWYG More tag
- Walker class for sub-menu with ACF fields
- How to list Category list in ACF Pro’s Select Field to choose from [closed]
- Get all the posts where meta field with multiple choice has several values checked
- Custom fields issue [closed]
- Querying posts by latitude and longitude to build a Google Maps with several markers
- ACF: How to get users with a ACF flexible content subfield with a specific value AND layout?
- How to copy data from a custom field to the post_content?
- WordPress creates new lines in postmeta table on post update
- ul list with only as many li’s as filled custom fields
- Get emails from users by custom field SQL
- Retrive Image URL of Custom Fields in Theme
- Display custom field from the front page on another page
- How to Pass values to Custom Field through PHP in WordPress Posts?
- Let Users Filter Posts by Custom Fields
- Filter posts by custom field (Advanced Custom Fields)
- Advanced Custom fields not available yet during publish_page action
- How can I output the custom fields wrapping with HTML
- How to filter post using custom feild value in shortest and longest duration?
- Query Posts Via WordPress URL
- How to Order Posts by Custom Fields?
- Fetch data from a WP page with same name as current username
- query specific posts according their custom fields, using sql SELECT
- Get custom field from other post in carousel
- I want to add a custom field in the rss title of each post, but don’t want it to be shown on the site
- Alter SQL query to return posts with unique custom field value, no duplicate values
- Advenced custom fields auto fill problem
- Adding custom field to an array
- Add image custom attribute [closed]
- How to get all specific fields from one ACF Group?
- Truncating characters in Advanced Custom Fields works some places but not others?
- save all acf options in one meta_value [closed]
- Conditional display based on ACF checkbox
- acf field repeater link don’t work
- How to add an ACF only for parent term?
- Best way for managing images of ads banners
- ACF in radio button cf7
- How to conditionally display an ACF custom textarea contents only to those users chosen from an ACF User field
- Populate Elementor Form based on first selection
- SQL query based on two different custom field values
- Displaying child pages and file URL in an ACF relationship field shortcode