Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
This is a surprise
Message
From
28/02/2000 08:09:10
 
 
To
28/02/2000 01:03:16
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00338270
Message ID:
00338336
Views:
17
Hi David,

No one has yet mentioned the famous FPA article of May 1999 (pg 34) titled "Rushmore: Less Is More".

It looks to me like your example fits the bill and so the problem would be the index on Deleted() (*assuming* that you are running with DELETED ON).

Cheers,

Jim N

>Hi Albert,
>I'm not using "UNION ALL" just "UNION" so they should be equivalent.
>
>>David has the explanation of the performance difference, but are you aware that the two selects are not equivalent? The select with the union will give two rows whenever (C.Addrnum = A.Addrnum AND C.PAddrnum = A.Addrnum).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform