Answers for "mysql strip char from string"

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 trim characters

SELECT TRIM('=' FROM '=FRESH COOKIES!=') AS Trimmed;
SELECT TRIM('=' FROM '====FRESH COOKIES!====') AS Trimmed;
Posted by: Guest on December-28-2020

Code answers related to "mysql strip char from string"

Code answers related to "SQL"

Browse Popular Code Answers by Language