UPDATE and REPLACE part of a string
I’ve got a table with two columns, ID and Value. I want to change a part of some strings in the second column. Example of Table: ID Value ——————————— 1 c:\temp\123\abc\111 2 c:\temp\123\abc\222 3 c:\temp\123\abc\333 4 c:\temp\123\abc\444 Now the 123\ in the Value string is not needed. I tried UPDATE and REPLACE: UPDATE dbo.xxx SET … Read more