Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Comparing 2 tables; getting list of missing records
Message
 
 
À
01/08/2005 14:17:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01037464
Message ID:
01037676
Vues:
21
Hi Malcolm,

It's hard to tell which query would be faster w/o running tests that why I sugested the alterenatives. Is difference significant enough to prefer correlated subquery over two others?

>
>I added some additional logic to my sql select and found that your correlated sub-query is starting to perform much better than my original query.
>
>Thanks (again!) for your help - very much appreciated!
>
>
>
>
>* your correlated subquery suggestion that I'm using
>select curWord.cWord from curWord ;
>	where NOT EXISTS ( select * from curDictionary ;
>				WHERE curDictionary.cWord = curWord.cWord ) ;
>	into cursor curMisspelled
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform