replace string in sql field example
Example 1: sql replace character in string in all records
UPDATE employees
SET
phone_number = REPLACE(phone_number, '.', '-');
Example 2: replace function in sql
REPLACE function: This function is used
to replace the existing characters
of all the occurrences.