L
liufang1
Unregistered / Unconfirmed
GUEST, unregistred user!
我在TQUEY的SQL书写:
insert into T_new (dh,n1,n2,n3,n4,n5)
select T1.dh,T1.n1,T1.n2,T1.n3,T1.n4-T2.n4,T1.n5
from T1,T2
where T1.dh=T2.dh and (T1.n4-T2.n4)<>0
其中T1,T2,T_new是三个结构完全相同的.DBF表都含有(dh,n1,n2,n3,n4,n5)
五个字段.执行上述查询时提示:表达式类型不匹配,该怎么办???
insert into T_new (dh,n1,n2,n3,n4,n5)
select T1.dh,T1.n1,T1.n2,T1.n3,T1.n4-T2.n4,T1.n5
from T1,T2
where T1.dh=T2.dh and (T1.n4-T2.n4)<>0
其中T1,T2,T_new是三个结构完全相同的.DBF表都含有(dh,n1,n2,n3,n4,n5)
五个字段.执行上述查询时提示:表达式类型不匹配,该怎么办???