Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Select statement question...
Message
De
15/05/2009 10:54:20
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01399790
Message ID:
01400140
Vues:
46
>Well, yes.
>I can do that with the orders and order details.
>And I can do that with the invoices and invoice details.
>
>Where I'm stuck is getting info from all four tables at the same time....as I need invoice details AND order details in the same data-set result - along with some stuff from both header-tables too.

You can combine additional table in the same SQL statement. But I would suggest adding one table at a time, this should be clearer, easier to debug, and in some cases much faster to execute.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform