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

 

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-01-02 12:42  宏宇  阅读(334)  评论(0编辑  收藏  举报