当前位置: 移动技术网 > IT编程>数据库>MSSQL > sqlserver一次性修改多条

sqlserver一次性修改多条

2019年10月17日  | 移动技术网IT编程  | 我要评论

九个太阳街拍,校园散章,我的个神啊 下载

修改客户表 编号为 0101007002,0101007003的楼栋号  007-1-102,007-1-201


update gas_customer
set building= case
when govid=380 and customer_no='0101007002' then '007-1-102'
when govid=380 and customer_no='0101007003' then '007-1-201'
end
where
govid=380 and customer_no in (
'0101007002',
'0101007003'
)

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网