Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use Having with SQL Server database
Message
From
11/01/2013 08:28:34
 
 
To
11/01/2013 08:25:06
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01562104
Message ID:
01562120
Views:
44
>>>>
>>>>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. :-)

Very minor :)
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform