var _sql:string;
begin
_sql:='delete from 表 where Id in (select max(id) from 另一个表 group by a ,b)';
Adoconnection.excute(_sql);
end;
代码如上,这样的删除往往会使用很长时间,能否使用进度条显示进度?最好用Raiz控件里面的 RzProgressbar,普通的也可以.谢谢!
begin
_sql:='delete from 表 where Id in (select max(id) from 另一个表 group by a ,b)';
Adoconnection.excute(_sql);
end;
代码如上,这样的删除往往会使用很长时间,能否使用进度条显示进度?最好用Raiz控件里面的 RzProgressbar,普通的也可以.谢谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货