Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
示例表:
ID RA RB ------ ------ ----- 1 龍 龍 竜 龒 2 齒 歯 齒 3 黽 黽
我想修改 RB 列,使其不包含 RA 中的字符。像这样:
ID RA RB ------ ------ ----- 1 龍 竜 龒 2 齒 歯 3 黽
只需用空字符串替换该字符:
UPDATE MyTable SET RB = replace(RB, RA, '');