Posted By

carouselcreative on 10/26/11


Tagged

search replace update


Versions (?)

Update database fields with search replace word


 / Published in: MySQL
 

Used to update a database field using search replace.

  1. UPDATE `table` SET fieldname = REPLACE( fieldname, "fromthis", "tothis" )

Report this snippet  

You need to login to post a comment.