Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The Use of * In Sql Select Syntax
Message
De
10/03/2007 08:26:05
 
 
À
10/03/2007 08:17:24
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 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01202512
Message ID:
01202513
Vues:
33
>Hi guys
>
>I seem not to understand the proper use of the * in Sql Select Syntax especially where JOINS exist. How can I use it to select ALL FIELDS from the LEFT JOIN and just One or Two Fields from the RIGHT JOIN or Vice Versa. Whenever I use it, the output ends up will ALL fields from ALL Tables.
>
>Thanks in advance
>
>Fred Matano

Select aa.*,bb.field1 from aa left join bb ....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform