Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Records in cursorA but not in cursorB
Message
 
 
À
21/03/2002 10:30:45
Stan Vaninger
Mitek Industries, Inc
Missouri, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00635506
Message ID:
00635507
Vues:
19
This message has been marked as the solution to the initial question of the thread.
>Given two cursors with a common field, is there a slick way (using a SQL select command rather than scanning one of the tables and doing seeks on the other) to find all records in cursorA that are not in cursorB?
>
>Thanks in advance,
>Stan
SELECT * FROM cursorA ;
  WHERE keyfield NOT IN (SELECT keyfield FROM cursorB)
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform