Zquery1.SQL.Clear;
Zquery1.SQL.Add('update tbharga Set HARGA= :Harga where NamaRs="' + RS + '" && KODEPRODUK="' + KodeProduk + '"');
zquery1.ParamByName('Harga').AsInteger := Harga;
zquery1.ExecSQL;
I've tried above script, but still the process is very slow. Need advise
Search found 3 matches
- 05.03.2012, 15:43
- Forum: 6.6 - stable
- Topic: SQLProcessor slow when handle thousand record
- Replies: 5
- Views: 1088
- 02.03.2012, 23:58
- Forum: 6.6 - stable
- Topic: SQLProcessor slow when handle thousand record
- Replies: 5
- Views: 1088
- 02.03.2012, 17:35
- Forum: 6.6 - stable
- Topic: SQLProcessor slow when handle thousand record
- Replies: 5
- Views: 1088
SQLProcessor slow when handle thousand record
Dear Master, Need help, I have table in mysql which has 978.828 records. When I try this script, the process is very slow (the application like hang up) zsqlprocessor1.Clear; zsqlprocessor1.Script.Text := 'update tbharga Set HARGA="' + inttostr(Harga) + '" where NamaRs="' + RS + '&quo...