Hi,
Which is the best\elegant way to update a string in nvarchar(MAX) column?
The record contains a string similar to this:
'The dog cat sat on the mat'
I just want to replace the above to this:
'The cat sat on the mat'
Is this is the best way:
UPDATE myTable SET
ColumnB=REPLACE(ColumnB,'dog cat','cat' )
WHERE ColumnC='SentenceOne'
Thank you