Answers for "how to update a string in mysql"

SQL
1

update part of a string in mysql

UPDATE table
SET field = REPLACE(field, 'string', 'anothervalue')
WHERE field LIKE '%string%';
Posted by: Guest on April-25-2021

Code answers related to "how to update a string in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language