Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting records that do NOT match a query
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00089645
Message ID:
00089926
Views:
31
Jim,

Great great tip, it works like a charm.

Thanks,

Gil
>>What's the best way to get items from a second table that do NOT match records from the first one using a query? This is obviously useful when calculating differences in tables. Most people still say that needs to be coded, what's your thought on this?
>>
>>TIA
>>
>>Gil
>Gil,
>
>
>
>SELECT * FROM TableB WHERE TableB.PK NOT IN(SELECT PK FROM TableA) ...
>
>
For every bug fixed, there is a bigger bug not yet discovered.
Previous
Reply
Map
View

Click here to load this message in the networking platform