Lazarus
Programming => Databases => Topic started by: Pascal on June 13, 2019, 01:26:41 pm
-
Is SQLDB able to do array fetch/update/insert to improve performance?
-
Of course, but you have to do that in SQL, not Pascal.
Reason: SQL is more efficient on the underlying database operations. Pascal would call the SQL engine anyway (in a loop).
Note not every SQL db supports this, so it is also dependent on which database you use.
A simple strategy is to use a TBufDataset and when finished commit to the database.
-
Are there any samples?
20 years ago i used DOA (Allround Automations) for Delphi, which was able to do array DML with Dataset component.