Answers for "how to update a string data in mysql table"

PHP
2

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
3

mysql replace string in table

UPDATE products 
SET 
    productDescription = REPLACE(productDescription,
        'abuot',
        'about');
Posted by: Guest on May-07-2020
0

Update information in a mysql column

UPDATE employees 
SET 
    lastname = 'Hill',
    email = '[email protected]'
WHERE
    employeeNumber = 1056;Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on August-18-2021

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

Browse Popular Code Answers by Language