Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL join with empty data in one table
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00392660
Message ID:
00393308
Views:
23
>
>I didn't know you could have something like Sa.Price > 0 in the JOIN expression. I thought those expressions had to be field relop field. But I just tried it on some of my data and it worked. Does standard ANSI SQL allow that, or is it a vfp thing? Interesting. Thanks.

Yes it really works! This is much easier than the Union with NOT IN, although this is a good way although. On my data, the performance is the same in both versions, but this is because my query is not rushmore optimized in both versions (but it doesn't matter in this case). I suppose, if rushmore optimized, Garret's version is much faster (with the high price on join.)
But thanks to all.
Christian Isberner
Software Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform