Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What to do when user SQL Selects too much?
Message
From
20/03/2006 16:20:39
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01105674
Message ID:
01105997
Views:
28
I have to say, if I tell a machine to pull the records I want and it refuses I will curse the programmers who made it do that. Give the user an ability to escape if it's taking too long. Give them them the ability to provide more criteria. Tell them to be prepared to wait. Leave the decision making to the humans. ANYTHING else is user-hostile.

>>Hi,
>>
>>Could you do a COUNT first and refuse to pull the actual data if the result size was too large ?
>>
>>Regards,
>>Viv
>
>Viv,
>
>This is what Naomi suggested too. But, without testing it, I thought that COUNT() + SQL SELECT could be slower than SQL SELECT with TOP nnn. I need to experiment.
>
>Thank you for your suggestion.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform