Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
File to file
Message
De
05/07/2001 09:19:37
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/07/2001 09:02:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00526901
Message ID:
00526910
Vues:
18
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform