Answers for "how to remove particular struing in mysql"

SQL
3

how to remove characters from string in mysql

#query 
UPDATE tableName SET columnName = REPLACE(columnName, 'charactersToBeReplaced', 'charactersToBeReplacedWith');

#you can use like this
UPDATE student_enroll_data SET student_name = REPLACE(student_name, '-gyg-', '');
Posted by: Guest on May-18-2021
0

mysql delete from where like

DELETE FROM bar where

field1 like '%foo%' 
OR
field2 like '%foo%'
OR
...
fieldLast like '%foo%'
Posted by: Guest on December-07-2020

Code answers related to "how to remove particular struing in mysql"

Code answers related to "SQL"

Browse Popular Code Answers by Language