Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
>I have a query with a lot of joins in it. When I add another join, i get a 'Too Many Subqueries' error. Removing the join fixes the problem.
>
>Is there any way around this? I am currently taking care of this with subsequent queries, but I don't much care for the way it looks.
>
>Thanks
>
>Russ
Russ;
After you hit the limit of 9 you punt! :)
There is nothing wrong with having as I call it cascading queries. First analyze your tables and see how to best join them. You do not have to try for the limit with this approach. You can see how it works with different query sets. After obtaining a set of data place the result into another query. With proper design you may find this to be a very efficient approach.
Tom
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement