Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLEXEC with Inner Join
Message
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 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Firebird
Divers
Thread ID:
01234927
Message ID:
01234995
Vues:
7
>Hi Naomi,
>
>Im thinking that word "AS", yes your correct should only be use when aliasing a field name.
>
>But I found that sample on VFP9 help.
>
>CLOSE ALL
>CLOSE DATABASES
>OPEN DATABASE (HOME(2) + 'Data\TestData')
>SELECT TAlias1.company, TAlias2.order_ID ;
>   FROM customer AS TAlias1 ;
>   INNER JOIN orders AS TAlias2 ;
>      ON TAlias1.cust_id = TAlias2.cust_id ;
>   ORDER BY TAlias1.company ASC
>
>
>

I've never used this syntax, that's why it looked wrong to me. But I may be wrong myself, need to try once I finish working on something else.

Thanks.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform