Thema: TSQL Query

Einzelnen Beitrag anzeigen

max mustermann

Registriert seit: 24. Jun 2010
10 Beiträge
 
Delphi 2 Desktop
 
#6

AW: TSQL Query

  Alt 3. Jul 2010, 20:14
Ich möchte mehrere Stings in die Query einfügen und dann alles auf einmal ausführen so z.B.:

Delphi-Quellcode:
Qry.SQL.Add('insert into customers (lname) values (''test1'');');
Qry.SQL.Add('insert into customers (lname) values (''test2'');');
Qry.SQL.Add('insert into customers (lname) values (''test3'');');
Qry.SQL.Add('insert into customers (lname) values (''test4'');');
Qry.ExecSQL(true);
  Mit Zitat antworten Zitat