UPDATE Table1 SET col1 = REPLACE(col1, '/Channel/channel1/', '/Quote/') where col2 = 10 UPDATE Table1 SET col1 = REPLACE(col1, '/Channel/channel2/', '/Quote/') where col2 = 13
UPDATE Table1 SET col1 = CASE WHEN col2 = 10 THEN REPLACE(col1, '/Channel/channel1/', '/Quote/') WHEN col2 = 13 THEN REPLACE(col1, '/Channel/channel2/', '/Quote/') ELSE col1 END
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)