(MySQL) MySQL doodles


[sql]
— Replace a word or string in a column
UPDATE my_table SET my_column = REPLACE(my_column, ‘Old string’, ‘New string’);


[/sql]

Leave a Reply

Your email address will not be published. Required fields are marked *