Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL - SELECT: 'Too many subqueries'
Message
De
17/01/2000 23:00:23
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
SQL - SELECT: 'Too many subqueries'
Divers
Thread ID:
00319286
Message ID:
00319286
Vues:
56
Received the error message 'too many subqueries'. It didn't seem right to me. (Partly because I understood a subquery to be something different.)

I did a very simple query. All INNER JOINS on one primary table. There were approximately 11 INNER JOINS to that table. I am pretty confident about my SQL SELECT statement. Just to be sure I used the query interface (builder?) to do the same thing. It build essentially the same code and the same error occurred.

(I was hoping to be lazy and avoid writing the darn statement but here it is in crude example form...)

SELE tbl1.*, tbl2.xyz2, tbl3.xyz3, tbl4.xyz4, tbl5.xyz5;
FROM tbl1, ;
INNER JOIN tbl2 ON tbl1.key2 = tbl2.key2;
INNER JOIN tbl3 ON tbl1.key3 = tbl3.key3;
INNER JOIN tbl4 ON tbl1.key4 = tbl4.key4;
INNER JOIN tbl5 ON tbl1.key5 = tbl5.key5

Of course I had more INNER JOINs but all were joined on the one primary table.

Is this a limitation of VFP? Any other pointers?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform