How to search and replace in MySql

6 sec read

The code below will do the trick, this line can be modified to accomodate your needs. A where clause can also be added

UPDATE databaseTableName SET tableColumnName = replace(tableColumnName,"findValue","replaceValue");

Last Updated On March 23, 2018

Leave a Reply

avatar
  Subscribe  
Notify of