Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What to do when user SQL Selects too much?
Message
De
20/03/2006 16:20:39
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01105674
Message ID:
01105997
Vues:
27
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform