Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compare Tables
Message
 
 
To
14/02/2002 10:29:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00614962
Message ID:
00620062
Views:
19
Jay,

I think you have it backwards. In my experience in VFP, Sybase 11 and 12 with large datasets (>100k rows), NOT EXISTS is significantly faster than NOT IN. I can provide a performance benchmark later.

>I'm not sure about that. You have a correlated subquery here which requires that the subquery be performed for each record of the result set in the main query. Tamar noted this a couple weeks ago, and that's SOP for other SQL implementations AFAIK. I think the original NOT IN syntax would give the preferred performance.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform