How to prevent Delphi ADO from loading the entire table into memory?

前端 未结 7 2168
后悔当初
后悔当初 2021-02-09 01:22

I am not a Delphi programmer, but I I got an old Delphi 7 application that I need to fix and it is using ADO.

The database table (MS Accesss) contains +100,000 rows and

7条回答
  •  离开以前
    2021-02-09 01:48

    You could use TADOQuery to limit the result set with a sql query. Or you could use TADOTable and set the CursorLocation to a Server side cursor to prevent the client loading the complete resultset in memory.

提交回复
热议问题