我正在寻找为特定列更新多个字符串中的一个单词。
例如;
Update Column A = 'This is a line of text.'
To 'This is a string of text.'
其中 A 列可能在数据库中出现多次。显然我只能说;
Update
TABLE
Set
A = 'This is a string of text.'
Where
A = 'This is a line of text.'
但我很好奇一种更好的方式,也许使用正则表达式?类似的东西;
Update
TABLE
Set
A = [First Part of A] + 'string' + [Second Part of A]
Where
A = 'This is a line of text.'