replace value mysql string code example
Example 1: mysql replace a character in a string
UPDATE users SET first_name = REPLACE (first_name, 'search', 'replace_with') where id > 0;
Example 2: update and replace mysql
#Search, Update & Replace Query
UPDATE `tblname` SET `description`= REPLACE(`description`, 'old name', 'New Name') WHERE `description` LIKE '%old name%';