Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Being Stupid about SQL statement
Message
De
26/01/2001 11:09:38
 
 
À
26/01/2001 08:03:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00468592
Message ID:
00469063
Vues:
33
>I have a guess. This could be a confusion with the between() function and the SQL between filter clause. The between in SQL expects the following syntax: between startrange AND endrange. If SQL is interpreting your between as that kind of between, it is interpreting "between(...) and number" as one condition. Then it sees "not in" and goes "huh?". This would explain why the subquery doesn't work and the big select doesn't. If you change your "between(...) and number not in..." to " fldname between startrange and endrange and number not in...", it might be all better.


I had that thought and as part of my testing, I dropped the between() part of the clause and only had the lettertype = "". But the problem still persisted.

Thanx
Fred Lauckner

You know, it works on my computer. I don't know what your problem is.

.Net aint so bad.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform