🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #563

Re: Using Joins

#563
From: Michael Rotteck
Date: Fri, 09 Oct 1998 00:00
37 lines
1196 bytes
On Thu, 08 Oct 1998 18:08:28 -0400, Tom Arnold <tarnold@inna.net>
wrote:

Hi Tom,

SQL ORDER BY do a sort.

When the field have an index ORDER BY use the index and FindKey()
works.

Example:

Index = name

SELECT * FROM ORDER BY name

SEEK and FindKey() works.

Index = Lastname+Firstname

SELECT * FROM ORDER BY name

SEEK and FindKey() are not working, SQL cannot use this index.
USE the Rowset.Index

>Message moved.  Posted in wrong group.
>--
>My testing has been questionable and the Language Reference seems
>inconclusive.  Would someone please confirm that a query with a Join and
>an Order By clause will not respond to a ....rowset.findkey().  I note
>that ...next() works OK.
>-- 
>   Tom 
>   Bena, VA

--
Michael Rotteck
Technical Details
Message-ID: <361e077e.70639317@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <361D37DC.79D6@inna.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: ff5a1,a7ecc2e42a78f594
X-Google-Attributes: gidff5a1,public
From: 100277.441@compuserve.com (Michael Rotteck)
Subject: Re: Using Joins
Date: 1998/10/09
Message-ID: <361e077e.70639317@forums.borland.com>
X-Deja-AN: 399414658
References: <361D37DC.79D6@inna.net>
Organization: Another Netscape Collabra Server User
Newsgroups: borland.public.vdbase.data.sql