大虾:
在程序中,要插入一行记录到oracle中的某一张表,我现在可以使用两种方法:
table1.open;
table1.InsertRecord([.....]);
table1.edit;
table1.post;

with query1 do
begin
close;
sql.clear;
sql.add('insert into ....');
prepare;
execsql;
end;
现在如果这张表记录量比较大的情况下,哪种方法会更快?更安全?