Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Compare Tables
Message
 
 
À
14/02/2002 10:29:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00614962
Message ID:
00620062
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform