Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Improving sluggish SQL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00306158
Message ID:
00520330
Vues:
18
Rather than using the NOT IN predicate try using NOT EXISTS,
maybe Foxpro would be faster with this instead:

SELECT col1 ;
FROM table2 ;
WHERE ;
NOT EXISTS ;
(SELECT col1 ;
FROM table1 ;
WHERE table1.col1 = table2.col1)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform