Answers for "sql server update statement with replace"

SQL
18

sql query with replace function

##sql query with replace function
#syntax
UPDATE tableName
SET  column_name = REPLACE(column_name, 'fromStringValue', 'toStringValue');

#Example 
Update  tbl_employee
Set designation = REPLACE(designation, 'SEO', 'Developer');
Posted by: Guest on January-12-2021
0

sql string function update replace

UPDATE employees 
SET 
    phone_number = REPLACE(phone_number, '.', '-');Code language: SQL (Structured Query Language) (sql)
Posted by: Guest on July-27-2021

Code answers related to "sql server update statement with replace"

Code answers related to "SQL"

Browse Popular Code Answers by Language