Answers for "mysql update string value"

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 "SQL"

Browse Popular Code Answers by Language