SQL Замените символ в строке во всех записях
UPDATE employees
SET
phone_number = REPLACE(phone_number, '.', '-');
Coding Cobra
UPDATE employees
SET
phone_number = REPLACE(phone_number, '.', '-');
UPDATE tableName SET fieldName = REPLACE(fieldName, 'fromStringValue', 'toStringValue');
SELECT REPLACE(REPLACE(@str, CHAR(13), ''), CHAR(10), '')
##sql query with replace function
#syntax
UPDATE tableName
SET column_name = REPLACE(column_name, 'fromStringValue', 'toStringValue');
UPDATE employees
SET
phone_number = REPLACE(phone_number, '.', '-');Code language: SQL (Structured Query Language) (sql)
SELECT colonne1, colonne2, REPLACE(colonne3, 'exemple insulte, 'CENSURE')
FROM table