Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
File to file
Message
From
05/07/2001 09:19:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/07/2001 09:02:35
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00526901
Message ID:
00526910
Views:
17
Use a subquery.
select * from IncomingOrders;
  where OrderNum not in;
  (select OrderNum from OutgoingOrders);
  into cursor TmpResult
>I have 2 large files, one file of incomming orders and one file of outgoing orders. They are keyed on the same ID field, a unique integer.
>
>Id like to check and make sure all the items in the input file have a match in the output file. Is there a clean SQL method to find items in one file and not another?
>
>
>TIA
>Chris
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform