Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is traditional do while...enddo faster than sql select ?
Message
De
16/08/2007 11:00:52
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
16/08/2007 10:07:26
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01248424
Message ID:
01248528
Vues:
37
>>>>Well, we know he's got at least an index on ac or the seek wouldn't work, but you're right to check if he's got good indexes.
>>>
>>>Hi Mike,
>>>
>>>We only know that index has name 'ac'. If the key is like 'ac+something' than it'll work for SEEK but not for the query.
>>
>>Yep, that's what I meant. He's got an index called ac.
>
>I see seek is faster even if index optimizable for select. Locate is slower from seek too even for clause full optimizable.

That's been my experience too. However enough looping code with seeks might be slower than one SQL command.

BTW interesting quotation you have there. I've always heard it as:

"The only thing necessary for the triumph of evil is for good men to do nothing" or "Evil thrives when good men do nothing"

One says Edmund Burke said it: http://www.tartarus.org/martin/essays/burkequote.html

Another says he didn't say it:
http://en.wikipedia.org/wiki/Edmund_Burke
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform