Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comparing one table to another
Message
 
 
To
26/11/2002 13:09:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00727145
Message ID:
00727223
Views:
15
>Hi All,
>I have two tables that I need to compare. I was thinking of scaning through one, and comparing the data row-by-row to the other. Has anyone ever done this kind of theing before?
>TIA,
select * from FirstTable ;
union ;
select * from SecondTable ;
into cursor curFirstSec
This cursor will have all records from the first table + only records, which are different from the second table.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform