Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing 2 tables; getting list of missing records
Message
 
 
To
01/08/2005 14:17:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01037464
Message ID:
01037676
Views:
20
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform