>我有 2 个 dbf 表,我需要根据第二个表值更新第一个表。我可以在SQL服务器中做到这一点,我需要Visual Foxpro的帮助。
这是我的 foxpro 命令:
====
=============================================================use table1
use table2
UPDATE table1
SET table1.name = table2.name
from table1 inner join table2
on table1.id = table2.id
WHERE table1.dsdate >= {^2011-04-13} and table1.dsdate <= {^2012-04-12}
====
=============================================================请帮助我,非常感谢!
Update Table1 From table2 Where table1.id = table2.id ;
Set table1.name = table2.name