Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What to do when user SQL Selects too much?
Message
De
22/03/2006 17:06:44
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
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:
01106812
Vues:
29
>>>I have a situation when user may create a query/filter criteria that will make SQL Select to select up to 200,000 records (or even more). The problem with this is that 1) it takes too much time and I don't know how to "allow" user to cancel the selection. 2) I really would prefer to "stop" or not allow user to select that many records. I wish there were a way to set some criteria in SQL Select that would stop selecting once the number of selected records has reached a certain number.
>>>
>>>Any suggestion to deal with this situation?
>>
>>Dmitry,
>>This may sound odd but an alternative is to connect to local data through parameterized SPT and use fetching.
>
>Cetin,
>I am not familiar with what you refer to as "fetching". By the way, the data is in VFP database, not SQL Server. Is "fetching" something related to SQL Server?
>
>Thank you.

No. See section "Speeding Up Data Retrieval" in help.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform