Sql Replace Character In String In All Records

[Solved] Sql Replace Character In String In All Records | Vb - Code Explorer | yomemimo.com
Question : sql replace character in string in all records

Answered by : coding-cobra

UPDATE employees
SET phone_number = REPLACE(phone_number, '.', '-');

Source : https://www.sqltutorial.org/sql-string-functions/sql-replace/ | Last Update : Mon, 13 Jul 20

Question : sql replace a section of a string in column

Answered by : ahren-adams

SELECT REPLACE( phone, '-', ' ' ) as new_phone
FROM investor;

Source : https://learnsql.com/cookbook/how-to-replace-part-of-a-string-in-sql/ | Last Update : Sat, 19 Nov 22

Answers related to sql replace character in string in all records

Code Explorer Popular Question For Vb