update
    A
set
    A.CityRegionID=B.ParentID,
    A.CityName=(select RegionName from Common_Region where RegionID=B.ParentID)
from
    User_Common_Address A,Common_Region B
where
    A.CityRegionID=B.RegionID

相关文章:

  • 2021-12-25
  • 2021-08-28
  • 2021-11-03
  • 2021-11-29
  • 2021-06-28
  • 2022-12-23
  • 2021-09-18
  • 2021-08-29
猜你喜欢
  • 2022-12-23
  • 2021-05-16
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
  • 2021-11-17
相关资源
相似解决方案