sql替换某字段内容的语句

update 表名 set 字段名=replace(cast(字段名 as varchar 字段类型),'要替换的字符','替换后的字符')

猜你喜欢

转载自lin358.iteye.com/blog/1963321