Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL & COUNT() problem
Message
From
27/06/1997 21:14:35
 
 
To
27/06/1997 17:56:17
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00037774
Message ID:
00037958
Views:
31
>> >> SELECT job, (sum(IIF(done='yes',1,0))/count(job))*100 AS progress FROM
>> >> mytable GROUP BY job
>> >
>> >Thank you Matt. It's exactly what I need.
>>
>> Is it fast enough for millions of records?!
>
>I don't know yet. My first problem was to get it work somehow. The table
>structure
>is not my design and it cannot be changed. The client is using a DOS based
>application
>and I have to make the VFP version work on the DOS tables. This form will
>only read
>the DOS tables every n seconds and display a graph.
>
>If you have a better solution, please don't keep it secret ... :-)

Sorry, no. I was just curious if it's fast enough. :(

Vlad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform