🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TADOQuery and Access DB Indices

#1841
From: Alain M. Dube
Date: Thu, 22 Jan 2004 14:12
45 lines
2266 bytes
Hi Vassiliev;

Thanks for the info.  Do you have any idea what the performance
characteristics are for searching an Access database using TADOTable->Seek
vs. TADOQuery with SQL statements?

Thanks again.

Regards;

Al Dube


"Viatcheslav V. Vassiliev" <support@oledbdirect.com> wrote in message
news:400fcfe1$2@newsgroups.borland.com...
> TADOQuery can not use indeces. Use TADOTable with CursorLocation =
> clUseServer and TableDirect = true.
>
> //------------------------------------------
> Regards,
> Vassiliev V. V.
> http://www.managed-vcl.com - using .Net objects in Delphi + ADO.Net
> http://www.oledbdirect.com - The fastest way to access MS SQL Server,
> MS Jet (Access) and Interbase (through OLEDB)
>
> "Alain M. Dube" <adube@cadencesoftware.com> �������/�������� � ��������
> ���������: news:400eb1ef$1@newsgroups.borland.com...
> > Hello;
> >
> > How do queries via SQL statements in a TADOQuery object make use of a
> target
> > MS Access Database's indices?  Do the fields named in a SELECT statement
> > drive the use of anparticular index?  Is there a direct way to specify
> which
> > index to use in a query?
> >
> > Thanks in advance for the help.
> >
> > Regards;
> >
> > Al Dube
> >
> >
>
>
Technical Details
Message-ID: <400fda69$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: <400eb1ef$1@newsgroups.borland.com> <400fcfe1$2@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 10698b,9542d688c47386fc
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2004-01-22 06:40:33 PST
From: "Alain M. Dube" <adube@cadencesoftware.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <400eb1ef$1@newsgroups.borland.com> <400fcfe1$2@newsgroups.borland.com>
Subject: Re: TADOQuery and Access DB Indices
Date: Thu, 22 Jan 2004 09:12:50 -0500
Lines: 47
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: 24.2.157.230
Message-ID: <400fda69$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074780777 24.2.157.230 (22 Jan 2004 06:12:57 -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