Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL join with empty data in one table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00392660
Message ID:
00393308
Vues:
24
>
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform