Answers for "replace text in string mysql"

PHP
9

mysql replace a character in a string

UPDATE users SET first_name = REPLACE (first_name, 'search', 'replace_with') where id > 0;
Posted by: Guest on June-20-2019
3

mysql replace string in table

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

Browse Popular Code Answers by Language