Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I can not stop a SELECT SQL
Message
De
01/11/2002 15:04:45
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
01/11/2002 15:01:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00717996
Message ID:
00717997
Vues:
15
>Can I stop an SELECT SQL sentece ?
>Would you help me with this ?
>Thanks

I think you would temporarily SET ESCAPE ON. Then, the user can interrupt with ESC. I am not sure exactly how to check whether the user pressed ESC or not, and this is an important detail.

You could also try to optimize your queries. For instance, dividing a 9-table SELECT (for a report) into several commands reduced the time over a network from 50 seconds, to 2 seconds.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform