Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Improving sluggish SQL
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00306158
Message ID:
00520330
Views:
17
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform