Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the max number of items in IN clause?
Message
De
27/04/2010 14:35:57
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01462166
Message ID:
01462253
Vues:
43
AFAIR I got the idea out of one of Aleksey T.'s responses - might have misunderstood,
saw no need to verify or even check before. Was just sure I could bump enough
for the mentioned scenarios.

>AFAIK, it's not the case. Before VFP9 IN () was even internally converted into INLIST().
>
>>IIRC In () gets expanded into a cursor in vfp already,
>>so I surmise that SQL server and others in this league implement it such as well.
>>Under this assumption, the In() way of coding is probably the easiest and most
>>portable way to code for things like a filter with a user-defined ad-hoc list of items.
>>
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform