Code: Select all
with Query.SQL do
begin
Add('INSERT INTO abc VALUES (''aa'');');
Add('INSERT INTO abc VALUES (''bb'');');
Add('INSERT INTO abc VALUES (''cc'');');
Add('COMMIT;');
end;
Query.ExecSQL;
Moderators: gto, cipto_kh, EgonHugeist
Code: Select all
with Query.SQL do
begin
Add('INSERT INTO abc VALUES (''aa'');');
Add('INSERT INTO abc VALUES (''bb'');');
Add('INSERT INTO abc VALUES (''cc'');');
Add('COMMIT;');
end;
Query.ExecSQL;