Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limitation on number of joins with a SQL-Statement ?
Message
From
27/01/2000 14:53:06
 
 
To
27/01/2000 11:55:57
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00323626
Message ID:
00323762
Views:
16
>A colleague of mine just stumbled over a limitation regarding the number of joins within a SQL-Statement. He's got a rather complex select statement with more than ten left outer joins (?!?). When performing that select statement, he gets the error "Too many subqueries".
>
>I just wonder whether I have to accept that limitation or am I missing something ?
>
>Bruno

Bruno,

Is there a reason that the query has to be so complex? Running that in VFP may actually cause the SELECT to be slower than breaking it up into multiple statements. VFP will only join 2 tables at a time, and each intermediate join will not be Rushmore optimized. For more information, see the Rushmore KB article on my web site.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform