Замените текст в SQL
##sql query with replace function
#syntax
UPDATE tableName
SET column_name = REPLACE(column_name, 'fromStringValue', 'toStringValue');
Hamzach
##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 REPLACE(thestring_with-unwanted_chars, unwanted_chars, '')