Answers for "replace character in sql during query"

SQL
3

sql replace character in string in all records

UPDATE employees 
SET 
    phone_number = REPLACE(phone_number, '.', '-');
Posted by: Guest on July-06-2020
3

replace string value in sql

UPDATE tableName  SET  fieldName = REPLACE(fieldName, 'fromStringValue', 'toStringValue');
Posted by: Guest on August-25-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language