Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT based on a matching record in another table
Message
 
 
À
12/07/2002 13:09:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00678126
Message ID:
00678147
Vues:
15
You're welcome. Ususaly, it is faster that the one that uses correlated query. However, only tests on the real data can tell what the difference is.

>Thanks Sergey, your example worked very well. Since I am only pulling about 15-20 records out of 700, I don't know if there would be a significant speed difference in either one (I cannot see a measureable difference). I suspect given all things being equal (broadband,distance,usage,etc) your statement would be MUCH faster.
>
>I'll use your example instead of the one I got working.
>
>THANKS AGAIN
>
>Tracy
>
>>Try
SELECT cn_name FROM lcontrol ;
>>  WHERE cn_name IN ;
>>       (SELECT ctrlname FROM ctrlset WHERE fontreq=.T.)
>>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform