🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TADOTable Out of Order

#2175
From: Viatcheslav V. Vassiliev
Date: Fri, 31 Oct 2003 18:44
38 lines
2567 bytes
Client-side cursor fetches all data into in-memory cache and works with this
cache - because of this it can occupy many memory if query/table is large.
Client-side cursor supports filter/sort, server-side supports indeces (in MS
Jet).

//------------------------------------------
Regards,
Viatcheslav V. Vassiliev
http://www.managed-vcl.com
http://www.oledbdirect.com



"Robert Emmons" <remmons@aurigen.com> ???????/???????? ? ???????? ?????????:
news:2m65qv87t6nj09k5d6652ooultht4v2m4l@4ax.com...
> On Fri, 31 Oct 2003 20:17:07 +0300, "Viatcheslav V. Vassiliev"
> <support@oledbdirect.com> wrote:
>
> >You may use indexes defined in DBMS (inside Jet database) only if
> >CursorLocation=clUseServer and TableDirect=True.
>
> Thanks.  I had just found that CursorLocation=clUseServe causes the
> table to display in index order, but I did not know about the
> TableDirect=True requirement.
>
> I am still wondering if this is the best/only solution, since the BCB6
> help on "CursorLocation/TADOConnection" seems to indicate some
> problems.  It says:
>
> "A server-side cursor offers less flexibility, but may be more
> advantageous (or necessary) for large result sets. Using a server-side
> cursor becomes necessary when the sheer size of a result set exceeds
> the available disk space that would be needed to create the
> client-side cursor. Also, many servers only support unidirectional
> cursors. This would preclude moving the record pointer in the dataset
> backward (even one record) through the result set."
>
>
Technical Details
Message-ID: <3fa2b26a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <1vv4qvcl4irnt8ln5t1p31ge0cshk96s6s@4ax.com> <3fa29917$1@newsgroups.borland.com> <2m65qv87t6nj09k5d6652ooultht4v2m4l@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,b4ab9cb102f7ab18
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-10-31 11:09:32 PST
From: "Viatcheslav V. Vassiliev" <support@oledbdirect.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <1vv4qvcl4irnt8ln5t1p31ge0cshk96s6s@4ax.com> <3fa29917$1@newsgroups.borland.com> <2m65qv87t6nj09k5d6652ooultht4v2m4l@4ax.com>
Subject: Re: TADOTable Out of Order
Date: Fri, 31 Oct 2003 21:44:49 +0300
Lines: 40
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 213.234.218.42
Message-ID: <3fa2b26a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1067627114 213.234.218.42 (31 Oct 2003 11:05:14 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail