Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with an SQL Statement
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00301783
Message ID:
00301790
Views:
27
Technically, a LEFT or RIGHT JOIN creates a sub-query in order to select matched and unmatched records. According to VFP help, you can only have 2 for each query level. However, I do have a view that uses LEFT JOIN on the same level 4 times [joining a total of 5 tables]. And, I am sure I have others like this. I suggest you start smaller and work upward to see at what point the SELECT breaks [how many LEFT JOINS actually break the code].

I am sure you have good reason, but why would you want matched and unmatched records from so many tables? IMHO, this is too many records and too much data to try to deal with. Is this for some kind of statistical analyses? Just curious.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform