Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
IIF inside a query.
Message
 
 
À
07/01/2003 10:00:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00738770
Message ID:
00738986
Vues:
17
>Hello at alls.
>
>I wonder to know how many IIF nested Can I put inside a query.
>
>TIA.

In my tests, the limit is 10. If you go 11, you get the "SQL Expression is too complex" error. You can, as Hilmar posted, use a UDF. You can also break the query into parts (e.g. first 10 and then the final 6)and UNION them.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform