我现在在DELPHI中运用ADOQUERY的SQL语句中的DELETE语句时报错误:
1、Project csm_manage.exe raised exception class EOLcException with
message '当前提供者不支持从单一执行恢复多个记录集'的错误;
2、Project csm_manage.exe raised exception class EDatabaseError with
message 'commandtext does not return a result set';
3、我访问的后台数据库是UNIX中的INFORMIX数据库中的数据。
1、Project csm_manage.exe raised exception class EOLcException with
message '当前提供者不支持从单一执行恢复多个记录集'的错误;
2、Project csm_manage.exe raised exception class EDatabaseError with
message 'commandtext does not return a result set';
3、我访问的后台数据库是UNIX中的INFORMIX数据库中的数据。
add前请先clear;
whith ADOQUERY do
begin
close;
sql.clear;
sql.add('delete from 表1');
execsql;
end;