修改客户表 编号为 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'
)

 

相关文章:

  • 2022-01-18
  • 2022-12-23
  • 2022-01-05
  • 2022-12-23
  • 2022-02-21
  • 2021-06-09
  • 2021-08-02
  • 2021-07-18
猜你喜欢
  • 2021-12-12
  • 2022-12-23
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2021-12-04
相关资源
相似解决方案