正确的oracle多表更新的语法为:
update lswlzd a
set a.lswlzd_wlmc=
(select b.newmc from kgcwltz081120 b
where a.lswlzd_wlbh=b.wlbh)
where exists
(select 1
from kgcwltz081120 b
where a.lswlzd_wlbh=b.wlbh)
正确的oracle多表更新的语法为:
update lswlzd a
set a.lswlzd_wlmc=
(select b.newmc from kgcwltz081120 b
where a.lswlzd_wlbh=b.wlbh)
where exists
(select 1
from kgcwltz081120 b
where a.lswlzd_wlbh=b.wlbh)