Concurent insert into database
Posted on 2012-03-20
My application reads data sent through the Internet.
I use IdTCPServer to read the data.
Sometimes it is lots of data and easy approach like:
with DataModule2.ZQuery1 do
Params.AsInteger := 1;
Params.AsDateTime := Today;
Params.AsString := lineOfData;
works fine but is not stable, after some time it crashes.
What approach would be appropriate here?