Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Records in cursorA but not in cursorB
Message
 
 
To
21/03/2002 10:30:45
Stan Vaninger
Mitek Industries, Inc
Missouri, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00635506
Message ID:
00635507
Views:
14
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform