Answers for "string replace in mysql update query"

PHP
6

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
1

search for replace in mysql

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

Code answers related to "string replace in mysql update query"

Browse Popular Code Answers by Language