Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equivalent selects
Message
De
17/09/2008 16:16:53
 
 
À
17/09/2008 16:11:44
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:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01348392
Message ID:
01348395
Vues:
16
The only difference I can see is the order of the fields. In the first SELECT, they will be in order Test_Financing - Tip while it will be the inverse in the second SELECT, Tip - Test_Financing.

>I am assuming these 2 statements are functionally equivalent. Am I correct?
>Thanks
>
>select * ;
>from test_financing ;
>inner join tip on test_financing.tip_id = tip.tip_id ;
>where between(_year,tipyear,tipyear+4) ;
>order by lead, st_name, _year 
>
>select * ;
>from tip ;
>inner join test_financing on test_financing.tip_id = tip.tip_id ;
>where between(_year,tipyear,tipyear+4) ;
>order by lead, st_name, _year 
>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform