Board index » delphi » fastest way to insert 100 records into a table

fastest way to insert 100 records into a table

D3,Sybase SQL Anywhwere with ODBC, TQuery
I have a stringgrid with about 100 items. With each one of this items I have
to generate a record in a table.
What's the fastest way?
Now I do it this way and it takes almost one second for a record:
In a loop a make:
  TQuery.Append;
I am sure, there are better and faster ways.
Thanks for any tips.
Willi
wkueh...@bluewin.ch

 

Re:fastest way to insert 100 records into a table


By using cached updates, all the updates are sent at the same time, instead
of doing each one individually.

George Aligianis

Other Threads