Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What to do when user SQL Selects too much?
Message
From
22/03/2006 17:06:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
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:
01106812
Views:
30
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform