Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to use Having with SQL Server database
Message
De
11/01/2013 08:25:06
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01562104
Message ID:
01562118
Vues:
54
>>>
>>>select COUND(DISTINCT(WO_NUMBER)) AS TOT_NUM from MyTable WHERE <SomeCondition> HAVING TOT_NUM > 5
>>>
>>COUND? Try with COUNT.
>First, thank you.
>COUND is my typo here (it is 4 am here and I am still not 100%).
>But I am not sure how I can replace the expressing in the HAVING
>clause.

The COUND() function might actually work here, assuming it's a COUNT-WITHIN-A-BOUNDED-RANGE. Probably need another parameter or two though. Just a minor syntax error. :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform