您的位置:首页 > 其它

更新",65,67,68,69,"这种类型的Id字段

2011-01-20 11:43 113 查看
----更新去掉hw_dmt_zdk_test表中 stuname 字段中的‘67’
update hw_dmt_zdk_test t
set t.stuname=(case when instr(t.stuname,'67',1,1)>0 then
replace(replace(t.stuname,'67',''),',,',',')
else
t.stuname
end)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐