Answers for "mysql remove characters from string and update"

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

Code answers related to "mysql remove characters from string and update"

Code answers related to "SQL"

Browse Popular Code Answers by Language