TDataSetProvider: to use or not to use?
- From: "Emile Petrus Abi-Abib" <emile@xxxxxxxxxxxx>
- Date: Wed, 28 Sep 2005 14:41:42 -0300
I am acessing a SQL Server 2000 Database with Delphi 7. Some of the tables
to be read have few lines of data while others have more than 300,000
registers. A two layer system architecture is being used.
I have come through a couple of ways of retrieving this information:
1st TADODataSet (CursorType = ctOpenForwardOnly; CursorLocation =
clUseServer)
TDataSetProvider;
TClientDataSet;
TDataSource
or
2nd TADODataSet (CursorType = ctStatic; CursorLocation = clUseClient)
TDataSource
Which benefits each approach will give me? Is there a standard solution?
Which
alternative consumes less resources from the SQL Server?
Emile Petrus Abi-Abib
.
- Follow-Ups:
- Re: TDataSetProvider: to use or not to use?
- From: Brian Bushay TeamB
- Re: TDataSetProvider: to use or not to use?
- Prev by Date: Re: Refresh of a DBGrid
- Next by Date: TADOClientDataset?
- Previous by thread: Refresh of a DBGrid
- Next by thread: Re: TDataSetProvider: to use or not to use?
- Index(es):
Relevant Pages
|