字段的值插入aa中。看了网友的帮助后,我用的是一个update语句:update aa.dbf a set a.name=b.name,a.address=b.address from aa a,bb b where a.dhh=b.dhh,运行时出错,提示的大意好像是没有找到from,我猜测是不是语法结构不正确。
于是我又改为update aa.dbf a,bb.dbf b set a.name=b.name,a.address=b.address where a.dhh=b.dhh,这次运行时出错提示好像是说update aa.dbf a,bb.dbf b这里的bb.dbf是错误的字段吧!
无奈我只又用update aa.dbf a set a.name=b.name,a.address=b.address where dhh in (select dhh from bb.dbf),可是这里运行提示大概说a.name=b.name,a.address=b.address处出错,实在不知道该如何解决!