🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #5574

Re: Newbie help

#5574
From: Piero Salandin
Date: Fri, 30 Mar 2001 16:25
47 lines
2693 bytes
> Hi, Piero!
>

Hi, Mark!

> If you are using SQL Server you do not need to worry too much about
> concurrent access because that will be handled in the client-server
> DBMS.

Sorry, but I don't think so. If you let the DB act without issuing Begin-End
Transactions you might run into consistency problems...

From what I saw looking around the ADO (and BDE) components I made up the
idea that I should use Client Side Cursors, Batch Updates and an explicit
Transaction control to achieve the goals.
But I saw also that with client cursors you get all the record fetched into
the client, with loss of performance for huge tables (I got not so huge
tables, but anyway 40.000 records are too much to be fetched efery time) .

Any trick?
And, are there some ways to get the records on a DBgrid refreshed wirthout
barely requerying everything?

Thanks in advance.

> If you use Access, nothing you do can absolutely ensure safety.

Is there a way to simulate a Transaction on the client side?

> If you'd like to use the transaction features of the TADOConnection
> object, have a look at BeginTrans(), EndTrans(), Commit() and Abort().
> There are a variety of transaction isolation levels available.
>
> The data set should have its MarshalOptions set to moModfiedOnly to
> reduce traffic over the network.

I'll try.
'Bout the book, seems like there are thiusands of pages I do not mind by
now. Bu that is the problem of EVERY book I bought since the last 4 years.
Somedthing thinner like "Using ADO on relational DBMS"?

Thanks anyway


--
Ing. Piero Salandin
piero.salandin@libero.it
Technical Details
Message-ID: <3ac4b4ad_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!151.25.10.67
References: <3abfb21e_1@dnews> <3ABFD4F1.A89F588C@temporaldoorway.com> <3ac0bec4_2@dnews> <3AC15B24.E9BFDE4E@temporaldoorway.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,7089fbf645685550
X-Google-Attributes: gid10698b,public
X-Google-Thread: f5cad,7089fbf645685550
X-Google-Attributes: gidf5cad,public
X-Google-ArrivalTime: 2001-03-30 08:39:10 PST
From: "Piero Salandin" <piero.salandin@libero.it>
Newsgroups: borland.public.cppbuilder.database.ado,borland.public.delphi.database.ado
References: <3abfb21e_1@dnews> <3ABFD4F1.A89F588C@temporaldoorway.com> <3ac0bec4_2@dnews> <3AC15B24.E9BFDE4E@temporaldoorway.com>
Subject: Re: Newbie help
Date: Fri, 30 Mar 2001 18:25:41 +0200
Lines: 50
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 151.25.10.67
Message-ID: <3ac4b4ad_2@dnews>
X-Trace: 30 Mar 2001 08:30:37 -0800, 151.25.10.67
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!nntp1.njy.teleglobe.net!teleglobe.net!hub.org!hub.org!PeerFeed.KWeb.on.ca!dnews!151.25.10.67