陋室铭
永远也不要停下学习的脚步(大道至简至易)

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
posted on 2018-07-09 13:34  宏宇  阅读(272)  评论(0编辑  收藏  举报