更新某字段中空格,replace替换

update 表名 set 需要修改的字段=replace(需要修改的字段,' ','')
where 条件=2
and 条件 in ()

posted @ 2018-12-13 14:22  元気囡仔  阅读(150)  评论(0编辑  收藏  举报