Answers for "mysql search and replace in table"

PHP
12

mysql replace text

UPDATE
    table_name
SET
    column_name = REPLACE(column_name, 'text to find', 'text to replace with')
WHERE
    column_name LIKE '%text to find%';
Posted by: Guest on June-26-2020
3

mysql replace string in table

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

Code answers related to "mysql search and replace in table"

Browse Popular Code Answers by Language