I hope someone can help me change entries in a database en masse.
In the image, the thumbnail entry is the one that needs changing.
I hope someone can help me change entries in a database en masse. In the image, the thumbnail entry is the one that needs changing.
ManOfTeal.COM a Proud UNA site, six years running strong! |
I can only guess this is what you want with the very limited information you gave. UPDATE Games SET thumbnail = 'http://yourdomain.com/images/wtfareyoutalkingabout.gif' where thumbnail = 'http://yourdomain.com/images/3d.gif'; https://dolphin-techs.com - Skype: Dolphin Techs |
RE I can only guess this is what you want with the very limited information you gave. UPDATE Games SET thumbnail = 'http://yourdomain.com/images/wtfareyoutalkingabout.gif' where thumbnail = 'http://yourdomain.com/images/3d.gif'; Sorry, didn't try to be vague, just am not sure about how to ask it I guess. I have been manually updating, removing the "http://yourdomain.com/" leaving the "/images/wtfareyoutalkingabout.gif"
ManOfTeal.COM a Proud UNA site, six years running strong! |
I would imagine he is needing to update just the URL portion of the thumbnail. Wouldn't something more like this be appropriate. Sorry guess I posted this while you were posting. Now edited. UPDATE table_name SET field_name = '/images/' WHERE field_name = 'http://jacksonville.dyndns.tv/images/'; |
Make a backup of the table and run the following command: UPDATE `Games` SET `thumbnail` = replace(`thumbnail`, 'http://jacksonville.dyndns.tv', '') Dedicated servers for as little as $32 (28 euro) - See http://denre.com for more information |
RE UPDATE `Games` SET `thumbnail` = replace(`thumbnail`, 'http://jacksonville.dyndns.tv', '')
That is the one! Thanks Denre and all the others! ManOfTeal.COM a Proud UNA site, six years running strong! |