F fphuang Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-27 #1 ssql:='insert into duizhao(daihao) values('+''''+a+''''+')'; 当a是string时可以,请问当a:integer时应该怎样写呢?
F fonder Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-27 #2 ssql:='insert into duizhao(daihao) values(inttostr(a))';
F fonder Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-27 #3 ssql:='insert into duizhao(daihao) values('+inttostr(a)+')'
J jihenglixin Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-27 #5 ssql:='insert into duizhao(daihao) values('+''''+inttostr(a)+''''+')'; 没分的吗?
F fphuang Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-27 #6 对不起,我也只有28分了,我以为拿不出手呢?可以另开一个帖子。 我在数据库中设置字段'daihao'是数字型的!!
林 林萍 Unregistered / Unconfirmed GUEST, unregistred user! 2002-12-27 #7 ssql:='insert into duizhao(daihao) values(inttostr(a))';