时间:2021-07-01 10:21:17 帮助过:49人阅读
对于不用返回结果集的要用execsql
反之则用open;
insert ,update,delete就要用到execsql;
select就要用open
说得对,例子:
with query1 do
close;
SQL.Clear;
SQL.Add(‘Delete From Country Where Name=‘‘England‘‘‘);
ExecSQL;
delphi中 ExecSQL 与 open
标签:insert open exe country update phi 结果 query try