Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The Use of * In Sql Select Syntax
Message
From
10/03/2007 08:26:05
 
 
To
10/03/2007 08:17:24
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01202512
Message ID:
01202513
Views:
32
>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 ....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform