Re: TDataSetProvider: to use or not to use?




>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?
Delphi andTclientDatasets are much easier to use in an application where you
need a remote client
TadoDataset gives you better integration with SQL server and Access

>Is there a standard solution?
If there was a standard solution then you would not have two optoins

>Which
>alternative consumes less resources from the SQL Server?
TadoDataset will do a bit better here since Update/insert sql generation is
handled in the ADO layer where with TclientDataset its handled in the delphi
code for Tprovider.



--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.



Relevant Pages

  • Delphi 2006 and SQL Server
    ... Congratulations to all the guys at Borland. ... Delphi 2006 is a great ... The application that I have developed is a Delphi VCL Win32 ... there has not been enough emphasis at Borland to support SQL Server. ...
    (borland.public.delphi.non-technical)
  • Re: SQL Server Mobile Edition & C#
    ... Sorry but I am not familiar enough with Delphi 6 to answer. ... >> .Net Compact Framework MVP ... >>>>> and modify SQL Server Mobile databases using the SQL server GUI. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: MSDE Performance and Reliability
    ... to other Delphi databases? ... SQL Server Express is very fast. ... Server, there are better solutions for Delphi available, that are not only ... Hannes Danzl [NexusDB Developer] ...
    (borland.public.delphi.database.ado)
  • Re: D2006 hits the UK
    ... Jim Cooper wrote: ... > in exactly the same way you once upon a time decided to use Delphi. ... Someone else mentioned SQL Server 2005. ... Borland Certified Advanced Delphi 7 Developer ...
    (borland.public.delphi.non-technical)
  • Re: MS SQL Server Database Support in Delphi Professional
    ... > release the MS SQL Server driver for dbExpress in Delphi 7 Pro. ... It is possible to write cross platform apps with that thing? ...
    (borland.public.delphi.non-technical)