Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
2 tables, Same records, How seek with SELECT?
Message
From
10/11/1997 14:07:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00059325
Message ID:
00059337
Views:
29
>How know which records are (aren't) in another table?
>Using SELECT query?
>And when you need more than one criteria?

First, let me make sure that I understood your question correctly. I assume that you have two almost identical tables and you want to retrieve records from table1 which are missed in table2. If it's really so, you run following query:
Select * from Table1 ;
Where Table1.Primarykey NOT IN (Select PrimaryKey From Table2)
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform