Hi all, I'm looking for an SQL guru who can help me search and replace the image path in the database of my content type. I realized all of my images were going into unique folders but I would prefer just one. I've got a couple of hundred pieces of content so I'm hoping to do this as a query rather than by hand.
table = xxxxx_cck_store_form_mytable
column = cp_flag
Search "images/290/bo.png"
Replace with "images/flags/bo.png"
in all cases the image path only has 3 numbers in the path that I would like to replace with "flags" and leave the filename as is.
so search "images/???" and replace with "images/flags" is what I'm hoping to learn how to do.
Thank you!!!