Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL WHERE clause capacity: LAME! LAME! LAME!
Message
De
07/11/1996 16:11:54
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00011729
Message ID:
00011737
Vues:
36
>I've been writing some code that writes, compiles, and executes SQL statements. I've found in VFP 5.0 that the length of the WHERE clause is extremelly limited relative to the alleged capacities of the product. For example, a WHERE clause with only 5 or 6 "BETWEEN" clauses, or an IN (...) clause with a few dozen entries, will generate an "SQL expression too complex" error. Please note that we are talking about a command that in its entirety is only a few hundred characters long, far less than the published limit.
>
>My recommendation: If you are planning to use SQL with long WHERE clauses in your app (or have your app generate and execute them), use a different product than VFP.

I cannot imagine SQL query with 5-6 between for the case of right database design. By the way did you try to run long Where query for VB. You can start it and go to sleep.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform