Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP6 vx VFP8 SQL
Message
From
13/05/2004 13:50:54
 
 
To
13/05/2004 11:33:42
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00903642
Message ID:
00903724
Views:
20
>SELECT cs.* FROM CustSer cs LEFT JOIN Contlist cl ;
> ON cs.CustSerID = cl.CustSerID ;
> WHERE cs.CustSerID # cl.CustSerID
>
>I realize I could use a sub-select query, but the time it takes to run is unacceptable (20 minutes).

It's hard to imagine why the following would be slow:

SELECT cs.* FROM CustSer cs ;
WHERE cs.CustSerID NOT IN ( ;
SELECT CustSerID FROM Contlist)

Have you tried running this with SYS(3054, 11) to see what's optimized and what's not?

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform