Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is wrong in my sql statement
Message
 
To
15/11/2000 13:20:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00442223
Message ID:
00442245
Views:
15
You have to specify the type of join for each table:
lsqlstring = " SELECT Purchase.*, Accmst.accname, Depts.deptname;
               FROM  purchase LEFT OUTER JOIN accmst;
               LEFT OUTER JOIN depts ;
               ON  Purchase.department = Depts.deptno  ;
               LEFT OUTER JOIN Accmst ;
               ON  Purchase.partycode = Accmst.acccd"
Previous
Reply
Map
View

Click here to load this message in the networking platform