update tablename set 性别列="01" where lbmc="男" update tablename set 性别列="02" where lbmc="女"
update 表名 set Xbm=iif(Xbm='男',"01","02")