Answers for "how to replace / to - in mysql"

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
13

mysql replace

REPLACE(str, find_string, replace_with)
Posted by: Guest on May-26-2020
1

update and replace mysql

#Search, Update & Replace Query

UPDATE `tblname` SET `description`= REPLACE(`description`, 'old name', 'New Name') WHERE `description` LIKE '%old name%';
Posted by: Guest on April-24-2021

Code answers related to "how to replace / to - in mysql"

Browse Popular Code Answers by Language