Search
 
SCRIPT & CODE EXAMPLE
 

SQL

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%';
Comment

mysql replace string in table

UPDATE products 
SET 
    productDescription = REPLACE(productDescription,
        'abuot',
        'about');
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql command not working in linux 
Sql :: select last row in sql 
Sql :: download mysql 64 bit 
Sql :: mysql count with if 
Sql :: sql select into statement 
Sql :: oracle select first row order by 
Sql :: create index mysql cli 
Sql :: extract weekday from date in sql 
Sql :: postgresql get today 
Sql :: check postgresql version in rails console 
Sql :: greater than in mongodb query 
Sql :: referential integrity constraint 
Sql :: xampp import sql file command line 
Sql :: 1) PostgreSQL DESCRIBE TABLE using psql 
Sql :: mysql connection w3 
Sql :: create table split string function in sql server 
Sql :: sql #region 
Sql :: oracle percentage 
Sql :: get data every 30 days in sql 
Sql :: docker create postgresql database 
Sql :: constraints to columns SQL 
Sql :: drop sequence 
Sql :: oracle apex debug time 
Sql :: activate log mariadb 
Sql :: PostgreSQL types and C# types 
Sql :: mysql execute file 
Sql :: select distinct postgres 
Sql :: sql server select last row of each item in group by column 
Sql :: mysql select row with min date 
Sql :: login phpmyadmin without password 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =