我的ADDConnection.Execute(s)中的s的where子句的 recordtime为日期时间字段,我要传入时间(begt,endts)去查询,错误,怎解决? tmp := 'select * into [Text;Database=';
tmp := tmp + dpath;
tmp := tmp + '].aaaa.txt from ' + sname;
tmp := tmp + ' where recordtime>='''+begts+''' and recordtime<='''+endts+''''
SConnection.Execute(tmp);
SConnection.Connected := True;
tmp := tmp + dpath;
tmp := tmp + '].aaaa.txt from ' + sname;
tmp := tmp + ' where recordtime>='''+begts+''' and recordtime<='''+endts+''''
SConnection.Execute(tmp);
SConnection.Connected := True;
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货