Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using odbc driver
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00298927
Message ID:
00298984
Views:
12
>ED:
> It works after I installed the mdac2.1. I look at the query and found that all the table names are in twice in the from clause:
>SELECT Policies.Subproducer, Policies.First_Name, Policies.Last_Name,;
> Policies.Addr1, Policies.Addr2, Policies.City, Policies.State,;
> Policies.Zip, Policies.Date_Effective, Vehicles.Vehicle_ID,;
> Vehicles.Model_Year, Vehicles.Make, Vehicles.Model;
> FROM Policies Policies, Vehicles Vehicles;
> WHERE Vehicles.Policy_ID = Policies.Policy_ID;
> AND Policies.Last_Name = ?LASTNAME;
> ORDER BY Policies.Date_Effective
>Do you know why?? thanks

It's just explicitly assigning an alias.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform