Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One SPT cursor to be used in another SPT
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
MS SQL Server
Miscellaneous
Thread ID:
01135239
Message ID:
01135255
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
>>Changing JOIN will affect the result.
>>With LEFT JOIN you will get all records from Main table and only matching records from joined table
>>With simple JOIN (default is INNER) you get ONLY these records from main table that have coresponding records in second i.e.:
>
>Just what I had worried about. The VFP equivalant of this is doing a FROM and WHERE on the table and SPT#1 cursor. Now the WHERE I have converted to JOIN () ON. What could have the VFP equivalant SQL with a WHERE clause return? ie. a result similar to JOIN or LEFT JOIN?

When you use WHERE for joining tables it is equivalent of [INNER] JOIN
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform