超图不动产登记中业务号YWH的更新方式

select xmxx.ywlsh,ql.ywh from bdcs_xmxx xmxx inner join bdcs_ql_ls ql on xmxx.xmbh=ql.xmbh;
update bdcs_ql_ls ql set ql.ywh =(select xmxx.ywlsh from bdcs_xmxx xmxx where xmxx.xmbh=ql.xmbh) where ql.xmbh is not null;

posted on 2017-12-24 12:42  嗨!蜗牛兄  阅读(101)  评论(0)    收藏  举报

导航